NIFI-10888: When inferring a schema using a Record Reader, buffer up …#6725
NIFI-10888: When inferring a schema using a Record Reader, buffer up …#6725markap14 wants to merge 1 commit intoapache:mainfrom
Conversation
…to 1 MB of FlowFile content for the schema inference so that when we read the contents to obtain records we can use the buffered data. This helps in cases of small FlowFiles by not having to seek back to the beginning of the FlowFile every time.
|
This is a really nice enhancement. Tested with csv files being converted to json files before and after fix for larger files, set up GetFile -> UpdateRecord This was compiled/run with java openjdk 1.8.0_332 csv files in format of: All referenced processors/controller services used defaults |
|
Reviewing... |
|
+1 LGTM, thanks for the improvement! Merging to main |
…to 1 MB of FlowFile content for the schema inference so that when we read the contents to obtain records we can use the buffered data. This helps in cases of small FlowFiles by not having to seek back to the beginning of the FlowFile every time. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes apache#6725
…to 1 MB of FlowFile content for the schema inference so that when we read the contents to obtain records we can use the buffered data. This helps in cases of small FlowFiles by not having to seek back to the beginning of the FlowFile every time.
Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000Pull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation