Github user pvillard31 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2138#discussion_r168924543
--- Diff:
nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/SelectHiveQL.java
---
@@ -310,6 +311,15 @@ private void onTrigger(final ProcessContext context,
final ProcessSession sessio
try (final Connection con = dbcpService.getConnection();
final Statement st = (flowbased ?
con.prepareStatement(selectQuery) : con.createStatement())
) {
+ try {
+ final int queryTimeout =
context.getProperty(QUERY_TIMEOUT).evaluateAttributeExpressions(fileToProcess).asInteger();
--- End diff --
Good point. I just pushed a commit to address it.
---