Open akursar opened 3 months ago
@jbonofre FYI
@nastra thanks. I will take a look and move forward quickly on multi backends support.
jdbc.schema-version=V0
workaround gets past initialization, but LIMIT clause elsewhere causes problems
UncheckedSQLException: Failed to execute exists query: SELECT table_namespace FROM iceberg_tables WHERE catalog_name = ? AND
(table_namespace = ? OR table_namespace LIKE ? ESCAPE '\') LIMIT 1
@pp-akursar yes, that's expected for LIMIT
as the syntax depends of the database backend (dialect).
Currently, JDBC Catalog is "guarantee" to work with SqlLite and PostgreSQL. But other backend (MySQL, MS SQL, ...), please be patient, I'm working on it.
@jbonofre thank you for supporting that. I have just 2 questions:
Thank you again
@OElabed I'm working on 2 PRs:
I will keep you posted.
Thank you @jbonofre , have you the PR links ? we can help you on the review or suggestions :)
Hi, I had a similar issue with my oracle DB, just found out here that it's not gonna work for syntax problems. Should I open a new issue for the Oracle DB or is it fine to track this here?
@Stefn93 I propose to use this issue as it's basically the same thing with different backend.
Apache Iceberg version
1.5.0 (latest release)
Query engine
None
Please describe the bug 🐞
Attempting to use MS SQL Server as JdbcCatalog produces the following:
I believe this is due to changes in https://github.com/apache/iceberg/pull/9487 which introduced the failing
ADD COLUMN
statement.Setting
jdbc.schema-version=V0
to avoid the schema update prevents the fatal error.