[ 
https://issues.apache.org/jira/browse/NIFI-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709127#comment-15709127
 ] 

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_r90278625
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractDatabaseFetchProcessor.java
 ---
    @@ -161,7 +161,7 @@
                     .description("The type/flavor of database, used for 
generating database-specific code. In many cases the Generic type "
                             + "should suffice, but some databases (such as 
Oracle) require custom SQL clauses. ")
                     .allowableValues(dbAdapters.keySet())
    -                
.defaultValue(dbAdapters.values().stream().findFirst().get().getName())
    +                .defaultValue("Generic")
    --- End diff --
    
    @mattyb149 In case your curious, I found that `Generic` may or may not be 
selected as the default after you start adding new DBAdapters. I ran into this 
exact issue when I added a new `Hive` DBAdapter, so I just hard coded it rather 
then having the default value possibly change.


> 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)

Reply via email to