hindmasj commented on code in PR #8450:
URL: https://github.com/apache/nifi/pull/8450#discussion_r1622193537


##########
nifi-commons/nifi-record-path/src/test/java/org/apache/nifi/record/path/TestRecordPath.java:
##########
@@ -2115,4 +2068,11 @@ private Record createSimpleRecord() {
         return new MapRecord(schema, values);
     }
 
+    private static FieldValue evaluateSingleFieldValue(RecordPath recordPath, 
Record record) {
+        return 
recordPath.evaluate(record).getSelectedFields().findFirst().get();
+    }
+
+    private static FieldValue evaluateSingleFieldValue(String path, Record 
record) {
+        return evaluateSingleFieldValue(RecordPath.compile(path), record);
+    }

Review Comment:
   Hi @markap14 , can you take a look at this PR please as I am interested in 
getting the ticket closed. Thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to