noneback opened a new issue, #5014:
URL: https://github.com/apache/iceberg/issues/5014
Error Log
```
[ERROR] Could not execute SQL statement. Reason:
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right
syntax to use near 'VARCHAR(5500),value VARCHAR(5500),PRIMARY KEY
(catalog_name, namespace, key))' at line 1
```
It possiablly caused by table DDL.
if we translate the JAVA string to SQL and try to :
```sql
CREATE TABLE iceberg_namespace_properties (
catalog_name VARCHAR(255) NOT NULL,
namespace VARCHAR(255) NOT NULL,
key VARCHAR(5500),
value VARCHAR(5500),
PRIMARY KEY (catalog_name, namespace, key)
);
```
The `key` attribute has a conflict with SQL KEYWORD `key`.
--
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]