pvillard31 commented on a change in pull request #4053: NIFI-7142:
Automatically handle schema drift in the PutKudu processor
URL: https://github.com/apache/nifi/pull/4053#discussion_r379231085
##########
File path:
nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/test/java/org/apache/nifi/processors/kudu/ITPutKudu.java
##########
@@ -139,6 +139,12 @@ public void testWriteKudu() throws IOException,
InitializationException {
testRunner.setProperty(PutKudu.BATCH_SIZE, "10");
testRunner.setProperty(PutKudu.FLOWFILE_BATCH_SIZE, "2");
+ // Enable lowercase handling.
+ testRunner.setProperty(PutKudu.LOWERCASE_FIELD_NAMES, "true");
+
+ // Enable schema drift handling.
+ testRunner.setProperty(PutKudu.HANDLE_SCHEMA_DRIFT, "true");
Review comment:
Could be worth doing the test using flow file attributes. Just to check EL
evaluation.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services