Open curtisq opened 7 years ago
I run into same issue this afternoon, find one solution from here, so basically you can try to set "current schema" in the JDBC connection url. not idea, wish that is supported by connect itself
I run into same issue this afternoon, find one solution from here, so basically you can try to set "current schema" in the JDBC connection url. not idea, wish that is supported by connect itself
This worked for us..thanks
When creating a JDBC Sink connector using postgres with the following config
And reading from a topic with both key and value of them avro schema
I run into a problem where the connector continues to think the table doesnt exist, goes to create it, creates it and then thinks it doesnt have columns so it tries to ammend and blows up. If the table already exists going in, it fails when trying to create it.
I believe this is due to there being no way to set schema (it writes to and ammends to the table name in the public schema but seems to think the postgres schema it should use to check for table/columns existence should be "$user")
Here is some log output from the process / postgres in docker-compose
notice
product:PostgreSQL schema:$user catalog:
When I go into postgres and manually create a schema "$user" and create the unagi table everything works fine and the connector sees the schema and writes to the public schema.
Is there some way to specifiy the schema to read from? or am I using this connector wrong?