pengzhiwei2018 commented on a change in pull request #2283:
URL: https://github.com/apache/hudi/pull/2283#discussion_r615522929



##########
File path: 
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala
##########
@@ -306,7 +311,10 @@ private[hudi] object HoodieSparkSqlWriter {
     } finally {
       writeClient.close()
     }
-    val metaSyncSuccess = metaSync(parameters, basePath, 
jsc.hadoopConfiguration)
+    val newParameters =
+      addSqlTableProperties(sqlContext.sparkSession.sessionState.conf, 
df.schema, parameters)

Review comment:
       yeah, moving the `addSqlTableProperties`  to  `metaSync` can simplify 
the logical.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to