Open brunocostalopes opened 3 years ago
Is there a specific reason you need to use the JDBC Connector?
https://www.confluent.io/hub/snowflakeinc/snowflake-kafka-connector
I wanted to be able to use some of the functionalities available in the JDBC connector such as auto table creation, auto schema evolution and use of upserts, but I have since realised that none of these are available with Snowflake.
The only advantage for us ended up being that the JDBC connector can write the data directly into tables with a well defined schema, rather than just loading the data into VARIANT fields on the Snowflake side, like the Snowflake connector does.
In any case, regarding this issue in particular, the issue was that the JDBC connector uses getTables()
to get the list of tables it is case sensitive.
https://stackoverflow.com/questions/69890973/kafka-jdbc-sink-connector-cant-find-tables-in-snowflake https://stackoverflow.com/questions/62224430/kafka-connect-jdbc-sink-quote-sql-identifiers-not-working/62232384#62232384
Hi,
I've setup Kafka locally and I'm trying to use the JDBC Sink Connector to write data into Snowflake but I keep getting the error below suggesting that the table can't be found in the database (I have auto creation disabled since it's not supported with Snowflake).
I can see the following query being run from the JDBC driver in Snowflake (and running it directly in Snowflake, with the same user configured in the JDBC connector, does return data.
And finally my configuration below:
Any idea what I might be missing here?