xushiyan commented on code in PR #7092:
URL: https://github.com/apache/hudi/pull/7092#discussion_r1016597764


##########
hudi-integ-test/src/main/java/org/apache/hudi/integ/testsuite/dag/nodes/ValidateDatasetNode.java:
##########
@@ -51,7 +51,7 @@ public Dataset<Row> getDatasetToValidate(SparkSession 
session, ExecutionContext
                                            StructType inputSchema) {
     String partitionPathField = 
context.getWriterContext().getProps().getString(DataSourceWriteOptions.PARTITIONPATH_FIELD().key());
     String hudiPath = 
context.getHoodieTestSuiteWriter().getCfg().targetBasePath + 
(partitionPathField.isEmpty() ? "/" : "/*/*/*");
-    Dataset<Row> hudiDf = 
session.read().option(HoodieMetadataConfig.ENABLE.key(), 
String.valueOf(config.isEnableMetadataValidate()))
+    Dataset<Row> hudiDf = 
session.read().option(HoodieMetadataConfig.ENABLE.key(), 
String.valueOf(context.getHoodieTestSuiteWriter().getCfg().enableMetadataOnRead))

Review Comment:
   ok so should we make job config take precedence and fall back to node config 
if not present? looks like some merge logic needed here



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