You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/05 17:51:58 UTC
[jira] [Commented] (NIFI-2866) The Initial Max Value of
QueryDatabaseTable won't be case sensitive.
[ https://issues.apache.org/jira/browse/NIFI-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722859#comment-15722859 ]
ASF GitHub Bot commented on NIFI-2866:
--------------------------------------
Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/1212
+1 LGTM, ran the unit tests and tried in NiFi with mixed case identifiers. Thank you for the contribution! Merging to master
> 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)