pratyakshsharma commented on a change in pull request #1584:
URL: https://github.com/apache/incubator-hudi/pull/1584#discussion_r419150921
##########
File path:
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/DeltaSync.java
##########
@@ -276,6 +276,8 @@ private void refreshTimeline() throws IOException {
// to generic records for writing
InputBatch<Dataset<Row>> dataAndCheckpoint =
formatAdapter.fetchNewDataInRowFormat(resumeCheckpointStr,
cfg.sourceLimit);
+ SchemaProvider schemaProviderFromFetched =
dataAndCheckpoint.getBatch().isPresent()
+ ? dataAndCheckpoint.getSchemaProvider() : null;
Review comment:
when fetching in row format, this change should not be needed since
RowBasedSchemaProvider is already getting initialised at the end.
----------------------------------------------------------------
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]