nsivabalan commented on code in PR #10998:
URL: https://github.com/apache/hudi/pull/10998#discussion_r1561644552


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala:
##########
@@ -964,6 +964,11 @@ object DataSourceOptionsHelper {
 
   def translateConfigurations(optParams: Map[String, String]): Map[String, 
String] = {
     val translatedOpt = scala.collection.mutable.Map[String, String]() ++= 
optParams
+    if (!translatedOpt.contains(HoodieTableConfig.HOODIE_TABLE_NAME_KEY) &&
+      translatedOpt.contains(HoodieTableConfig.HOODIE_WRITE_TABLE_NAME_KEY)) {

Review Comment:
   can we replace DataSourceWriteOptions.TABLE_NAME.key() instead of 
HoodieTableConfig.HOODIE_WRITE_TABLE_NAME_KEY 



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