YannByron commented on a change in pull request #3998:
URL: https://github.com/apache/hudi/pull/3998#discussion_r755890704



##########
File path: 
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala
##########
@@ -182,17 +124,18 @@ case class CreateHoodieTableCommand(table: CatalogTable, 
ignoreIfExists: Boolean
       table.storage.compressed,
       storageProperties + ("path" -> path))
 
-    val newDatabaseName = formatName(table.identifier.database
-      .getOrElse(sessionState.catalog.getCurrentDatabase))
+    val tablName = HoodieSqlUtils.formatName(sparkSession, 
table.identifier.table)
+    val newDatabaseName = HoodieSqlUtils.formatName(sparkSession, 
table.identifier.database
+      .getOrElse(catalog.getCurrentDatabase))
 
     val newTableIdentifier = table.identifier
-      .copy(table = tableName, database = Some(newDatabaseName))
+      .copy(table = tablName, database = Some(newDatabaseName))

Review comment:
       Spelling mistakes ~.~




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