Github user patricker commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1281#discussion_r90277335
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GenerateTableFetch.java
---
@@ -186,8 +186,10 @@ public void onTrigger(final ProcessContext context,
final ProcessSessionFactory
try (final Connection con = dbcpService.getConnection();
final Statement st = con.createStatement()) {
- final Integer queryTimeout =
context.getProperty(QUERY_TIMEOUT).asTimePeriod(TimeUnit.SECONDS).intValue();
- st.setQueryTimeout(queryTimeout); // timeout in seconds
+ if(dbAdapter.getSupportsStatementTimeout()) {
--- End diff --
I used a HiveConnectionPool.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---