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

ASF GitHub Bot commented on NIFI-2866:
--------------------------------------

Github user mattyb149 commented on the issue:

    https://github.com/apache/nifi/pull/1101
  
    Can you add a unit test for this? One option is to update the 
testInitialMaxValue() test to change the name of the "created_on" column to 
uppercase, as well as the max-value column name and the 
initial.maxvalue.CREATED_ON attribute. That should be enough to illustrate the 
problem before applying your change, then the test passes after your change.


> The Initial Max Value of QueryDatabaseTable won't be case sensitive.
> --------------------------------------------------------------------
>
>                 Key: NIFI-2866
>                 URL: https://issues.apache.org/jira/browse/NIFI-2866
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.1.0
>            Reporter: Byunghwa Yun
>            Priority: Minor
>
> Now, the Initial Max Value of QueryDatabaseTable is allowed the only 
> lowercase so I think to change the below code, it added .toLowerCase() method.
>         for(final Map.Entry<String,String> maxProp : 
> maxValueProperties.entrySet()){
>             if 
> (!statePropertyMap.containsKey(maxProp.getKey().toLowerCase())) {
>                 statePropertyMap.put(maxProp.getKey().toLowerCase(), 
> maxProp.getValue());
>             }
>         }
> When I set the property that is initial.maxvalue.UPDATE_TIME, 
> QueryDatabaseTable doesn't have WHERE clause with UPDATE_TIME.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to