-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: add table schemas #1022
Conversation
Ping me when #1021 is in. We are pretty close to having that one in AFAICT. |
|
||
:type field_type: string | ||
:param field_type: the type of the field (one of 'STRING', 'INTEGER', | ||
'FLOAT', 'BOOLEAN', 'TIMESTAMP' or 'RECORD') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
""" | ||
if not all(isinstance(field, SchemaField) for field in value): | ||
raise ValueError('Schema items must be fields') | ||
self._schema = tuple(value) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM. I don't want the |
Based on #1021