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/10/05 04:03:21 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=15547533#comment-15547533 ]
ASF GitHub Bot commented on NIFI-2866:
--------------------------------------
GitHub user combineads opened a pull request:
https://github.com/apache/nifi/pull/1101
NIFI-2866 The Initial Max Value of QueryDatabaseTable won't be case
sensitive
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/combineads/nifi NIFI-2866
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1101.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1101
----
commit 821c5c680ba00709198a6e208179672d997b6073
Author: Byunghwa Yun <co...@combineads.co.kr>
Date: 2016-10-05T03:52:53Z
NIFI-2866 The Initial Max Value of QueryDatabaseTable won't be case
sensitive
----
> 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)