[
https://issues.apache.org/jira/browse/NIFI-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709108#comment-15709108
]
ASF GitHub Bot commented on NIFI-3093:
--------------------------------------
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.
> HIVE Support for QueryDatabaseTable
> -----------------------------------
>
> Key: NIFI-3093
> URL: https://issues.apache.org/jira/browse/NIFI-3093
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.2.0
> Reporter: Peter Wicks
> Assignee: Peter Wicks
>
> Update Query Database Table so that it can pull data from HIVE tables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)