xushiyan commented on a change in pull request #5145:
URL: https://github.com/apache/hudi/pull/5145#discussion_r837127511
##########
File path:
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/CreateHoodieTableCommand.scala
##########
@@ -167,10 +166,6 @@ object CreateHoodieTableCommand {
if (!dbExists) {
throw new NoSuchDatabaseException(dbName)
}
- // check table exists
- if (sparkSession.sessionState.catalog.tableExists(table.identifier)) {
- throw new TableAlreadyExistsException(dbName, table.identifier.table)
- }
Review comment:
this is some behavior change: can you clarify why this is a reasonable
change? above this line, we check if db exists and throw, why we don't check
for table?
--
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]