Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2138#discussion_r143055024
--- Diff:
nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/SelectHiveQL.java
---
@@ -290,6 +292,9 @@ public void process(final OutputStream out) throws
IOException {
}
}
+ // set query timeout
+ st.setQueryTimeout(queryTimeout);
--- End diff --
Nothing to be done here necessarily, but just wanted to mention that the
success of this method is dependent on the customValidate() preventing the
processor from running if the Hive JDBC driver does not support setQueryTimeout.
---