You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/10/21 16:38:27 UTC

[GitHub] [hudi] fsilent commented on a diff in pull request #6989: [HUDI-5000] Support schema evolution for Hive/presto

fsilent commented on code in PR #6989:
URL: https://github.com/apache/hudi/pull/6989#discussion_r1001988998


##########
hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/HoodieParquetInputFormat.java:
##########
@@ -76,6 +76,9 @@ public RecordReader<NullWritable, ArrayWritable> getRecordReader(final InputSpli
       return createBootstrappingRecordReader(split, job, reporter);
     }
 
+    // adapt schema evolution
+    new SchemaEvolutionContext(split, job).doEvolutionForParquetFormat();

Review Comment:
   I don't think it's worth paying attention, because here only a runtime exception is thrown when schema evolution is needed and the evolution fails.



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org