[
https://issues.apache.org/jira/browse/NIFI-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035057#comment-16035057
]
ASF GitHub Bot commented on NIFI-4009:
--------------------------------------
Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1881#discussion_r119906706
--- Diff:
nifi-commons/nifi-record-path/src/main/java/org/apache/nifi/record/path/filter/NotEqualsFilter.java
---
@@ -30,7 +30,7 @@ public NotEqualsFilter(final RecordPathSegment lhs, final
RecordPathSegment rhs)
protected boolean test(final FieldValue fieldValue, final Object
rhsValue) {
final Object lhsValue = fieldValue.getValue();
if (lhsValue == null) {
- return rhsValue != null;
+ return false;
--- End diff --
What's the reason for this change? Not saying it's wrong, just trying to
understand it :)
> Support functions in RecordPath
> -------------------------------
>
> Key: NIFI-4009
> URL: https://issues.apache.org/jira/browse/NIFI-4009
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.3.0
>
>
> Currently, RecordPath allows you to grab specific fields from a record but
> doesn't allow you to do anything to modify those values. For instance, you
> can't grab the first 10 characters of a field value. Adding a handful of
> functions will go a long way to make RecordPath far more functional.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)