Github user pvillard31 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2138#discussion_r213204485 --- Diff: nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/src/main/java/org/apache/nifi/processors/hive/AbstractHive3QLProcessor.java --- @@ -345,4 +348,22 @@ private void findTableNames(final Object obj, final Set<TableName> tableNames) { } return attributes; } + + /** + * Method to set the configured timeout on the statement to be executed + * @param stmt statement to be executed + * @param context process context to retrieve the configured value + * @param flowFile flow file to evaluate expression language + * @throws ProcessException exception in case configured value cannot be converted to an integer + */ + protected void setTimeout(Statement stmt, ProcessContext context, FlowFile flowFile) throws ProcessException { --- End diff -- Yeah... decided not to because I figured that all the drivers on Hive3 and beyond would implement the method now. I thought it would make less validation work when the framework is validating the processor. But I guess we could choose to be on the safest side and add it anyway. Thoughts?
---