-
-
Notifications
You must be signed in to change notification settings - Fork 58
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 wrapper: JSON, Numeric not supported #70
Comments
Workaround:
Interestingly, a view is not necessary if using SQL i.e. found out that, using the foreign table definition as-is (defining column type as json),
does not work, and returns full EDITDocumentation was just updated and JSON is always serialized as string in GraphQL: https://supabase.github.io/pg_graphql/api/#json. In SQL or API, one would just cast like |
Yes, JSON is not support yet in BigQuery FDW. A workaround is using |
@burmecia thanks - do you have an ETA and would the wrapper be available in the cloud immediately when released ? I have a few tables with JSON data types in BigQuery and am not authorized to create views (dataset owned by my client). Ideally, |
We're currently working on improving BigQuery fdw, the JSON support should be ready on the next release. And thanks for the subquery in |
EDIT: I have edited the title and added which is a valid type in PG: https://www.postgresql.org/docs/current/datatype-numeric.html and in BigQuery (and is supported by https://github.com/lquerel/gcp-bigquery-client already) Would be good to add all supported ones or document the limited support. |
Trying to query a table with JSON data type in BigQuery.
Foreign table, with
json
column type, gets created fine but upon querying, the wrapper returns:The text was updated successfully, but these errors were encountered: