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

Error on saving table to BigQuery - required field id cannot be null #37

Open
dimitri-b opened this issue Aug 28, 2021 · 1 comment
Open

Comments

@dimitri-b
Copy link

Givent this schema in a source table:
2021-08-28_11-45-23

attempting to persist a table in BigQuery thows an error:

connect("bigquery:///gcp-project-name-here")

calendar = import_table("eCom_US.calendar")
temp = calendar{
    Fin_Year,       // INTEGER
    Fin_Year_Label  // STRING
}[..5]
print(temp)

table test_data.temp_cal = temp
// Got error: 400 Required field id cannot be null
@dimitri-b dimitri-b changed the title Error on saving table to BigQuery - Required field id cannot be null Error on saving table to BigQuery - required field id cannot be null Aug 28, 2021
@erezsh
Copy link
Owner

erezsh commented Aug 28, 2021

I pushed a fix for this into the schemas branch.

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

No branches or pull requests

2 participants