danny0405 commented on code in PR #13078:
URL: https://github.com/apache/hudi/pull/13078#discussion_r2049866130
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/HadoopConfigurations.java:
##########
@@ -45,12 +46,24 @@ public static org.apache.hadoop.conf.Configuration
getParquetConf(
}
/**
- * Creates a new hadoop configuration that is initialized with the given
flink configuration.
+ * Creates a new hadoop configuration that is initialized with the given
flink configuration
+ * along with some configurations necessary to construct file
readers/writers.
*/
public static org.apache.hadoop.conf.Configuration
getHadoopConf(Configuration conf) {
org.apache.hadoop.conf.Configuration hadoopConf =
FlinkClientUtil.getHadoopConf();
Map<String, String> options =
FlinkOptions.getPropertiesWithPrefix(conf.toMap(), HADOOP_PREFIX);
options.forEach(hadoopConf::set);
+
+ hadoopConf.set(HoodieCommonConfig.SCHEMA_EVOLUTION_ENABLE.key(),
Review Comment:
Can we put these options set up into `FlinkReaderContext`?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]