alexeykudinkin commented on code in PR #6456:
URL: https://github.com/apache/hudi/pull/6456#discussion_r955307344


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala:
##########
@@ -120,10 +119,8 @@ object CreateHoodieTableCommand {
 
     val tableType = tableConfig.getTableType.name()
     val inputFormat = tableType match {
-      case DataSourceWriteOptions.COW_TABLE_TYPE_OPT_VAL =>
+      case DataSourceWriteOptions.COW_TABLE_TYPE_OPT_VAL | 
DataSourceWriteOptions.MOR_TABLE_TYPE_OPT_VAL =>

Review Comment:
   Surely, it might make sense in your use-case but it doesn't make sense in 
general use-case. Why would we want to treat MOR tables as COW by default in 
general? 



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