Open Heedster opened 1 year ago
Hi team 👋🏼
We are stuck with this similar problem. Do you have any idea of a workaround before the fix?
thanks a lot 🙏🏼 cheers 🍻
I am also seeing this error when using PostgreSQL as a destination. Do we need another task for that use case?
java.lang.IllegalArgumentException: Only top-level primary keys are supported
Same here! It was working with Postgres before
Same issue :( java.lang.IllegalArgumentException: Only top-level primary keys are supported
same for me - except destination is snowflake.
Same here! It was working with Postgres before
Also worked before for me and suddenly stopped (destination is snowflake).
I am having the same problem when connecting DynamoDB to Snowflake. At first it was working good and after testing a table with columns containing dictionary the connection stopped working.
Would love a fix on that as well
Would love a review on that PR :-)
Connector Name
destination-bigquery
Connector Version
2.0.2
What step the error happened?
During the sync
Revelant information
When I sync from my DynamoDB table to BigQuery, I get this error: Stack Trace: java.lang.IllegalArgumentException: Only top-level primary keys are supported
Further changes and "Reset" also has the same error.
One suspicious thing I have is the way primary keys of dynamodb are captured and shown here in the UI.
My primary key is actually "id". But the UI shows: batchId.createdAt.createdBy.createdOn.id.updatedAt.updatedOn I am unable to edit it. When i try to the primary column edit cursor is disabled.
batchId, createdAt, createdBy, createdOn, id, updatedAt, updatedOn are all primary top level attributes, and are hash keys or range keys of my various indexes in the table. DynamoDB anyway does not also allow to create non top level things as primary keys. id is the hash key of the table itself. I dont know why the source connector combines it this way.
Update
This could just be a UI thing.
When I make an API call, it shows up as a list properly, but as a list of a list (maybe thats the problem?)
Log file
Relevant log output
No response
Contribute