Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery: Handle JSON Primary Key in Merge Statement #1414

Closed
wants to merge 1 commit into from

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Mar 1, 2024

JSON as primary key is not supported by our merge statement in BigQuery as during our primary key comparison, BigQuery cannot compare JSON values:

googleapi: Error 400: Equality is not defined for arguments of type JSON

This PR skips JSON columns in primary keys for BigQuery merge as a temporary workaround
Test added

@Amogh-Bharadwaj Amogh-Bharadwaj marked this pull request as ready for review March 1, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant