-
Notifications
You must be signed in to change notification settings - Fork 119
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
Error while trying to create the dataset table #10
Comments
This is also happening to me. What are we missing? |
Hey @clorichel , I think the problem here is that the tap has created a schema which has ordered the type list in a way that See here: target-bigquery/target_bigquery.py Lines 68 to 73 in a30ec31
The indexation for the last item in the list returns |
Has there been any update on this? I tried modifying that if statement to also check the second value in the type array, but I still have the same error. |
also getting this problem when using if isinstance(field['type'], list):
if "null" in field['type']:
schema_mode = 'NULLABLE'
else:
schema_mode = 'required'
schema_type = list(set(field['type']) - {"null"}).pop() |
First thing first: thank you for this target guys!
Been struggling with this one for a bit, hoping someone could help:
The dataset is created just fine 👌 if it doesn't exist, but code always fails while trying to create the table. I've voluntarily added the
BadRequest
exception to intercept the table name with:And here it is:
This msg seems valid to me:
table = msg.stream
and if I print it it'sreviews
as expected. What did I miss?The text was updated successfully, but these errors were encountered: