dheerajpanangat commented on code in PR #7097:
URL: https://github.com/apache/hudi/pull/7097#discussion_r1023456743


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableFactory.java:
##########
@@ -347,4 +351,12 @@ private static void inferAvroSchema(Configuration conf, 
LogicalType rowType) {
       conf.setString(FlinkOptions.SOURCE_AVRO_SCHEMA, inferredSchema);
     }
   }
+
+  private static void setupRootOptions(Configuration conf, ReadableConfig 
configuration) {
+    if (configuration instanceof TableConfig) {
+      ((Configuration)((TableConfig) 
configuration).getRootConfiguration()).toMap().forEach((rootConfigKey, 
rootConfigValue) -> {
+        conf.setString(rootConfigKey, rootConfigValue);

Review Comment:
   Sure @danny0405 .
   Can I close the Merge request then ? 
   Can we add these to the Hudi documentation ?



-- 
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]

Reply via email to