FANNG1 commented on code in PR #11427:
URL: https://github.com/apache/iceberg/pull/11427#discussion_r1824081295
##########
core/src/main/java/org/apache/iceberg/jdbc/JdbcUtil.java:
##########
@@ -123,7 +123,7 @@ enum SchemaVersion {
+ JdbcTableOperations.METADATA_LOCATION_PROP
+ " = ?";
static final String V0_CREATE_CATALOG_SQL =
- "CREATE TABLE "
+ "CREATE TABLE IF NOT EXISTS "
Review Comment:
I tested SQLServer and it doesn't support `CREATE TABLE IF NOT EXISTS`,
seems this is not the correct direction if Iceberg still supports SQLServer as
JDBC catalog backend. How about double check the database and table
information from the `ResultSet` returned by `dbMeta.getTables`, is it the
right direction?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]