Repository navigation
NIFI-16190 Added support for filtering out null results when processing JSON lines in JSLTTransformJSON. - #11850
Conversation
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks for addressing this issue @dan-s1, I noted some minor details related to logging, but the approach looks good.
|
@exceptionfactory Per your suggestion, the line number is zero based. Would it make sense to make it 1 based i.e. getLogger().debug("JSLT Transform resulted in no data on line {}", lines + 1); ? |
Yes, good call, I agree |
|
@exceptionfactory Can you please take another look to see if there is anything else that needs to be changed? Thanks! |
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks @dan-s1, I noted two remaining items to address
…ng JSON lines in JSLTTransformJSON.
…nt when a line does not match and changed from warn to info when detailing how many matches there were.
…d removed assertions on logging.
exceptionfactory
left a comment
There was a problem hiding this comment.
Looks good @dan-s1, just one more adjustment to correct the debug log line now
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks for working through all the adjustments @dan-s1, the latest version looks good to go pending successful build completion.
Summary
NIFI-16190
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000VerifiedstatusPull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
./mvnw clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation