lokeshj1703 commented on code in PR #10641:
URL: https://github.com/apache/hudi/pull/10641#discussion_r1485825887


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataWriteUtils.java:
##########
@@ -147,6 +148,10 @@ public static HoodieWriteConfig createMetadataWriteConfig(
     final Properties properties = new Properties();
     properties.put(HoodieTableConfig.RECORDKEY_FIELDS.key(), 
RECORD_KEY_FIELD_NAME);
     properties.put("hoodie.datasource.write.recordkey.field", 
RECORD_KEY_FIELD_NAME);
+    if (nonEmpty(writeConfig.getMetricReporterMetricsNamePrefix())) {
+      properties.put(HoodieMetricsConfig.METRICS_REPORTER_PREFIX.key(),
+          writeConfig.getMetricReporterMetricsNamePrefix() + "_metadata");
+    }

Review Comment:
   Yes you are right. I have made a change to use `METADATA_TABLE_NAME_SUFFIX` 
instead 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: commits-unsubscr...@hudi.apache.org

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

Reply via email to