GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — BigQuery on python. upload_from_file job not done · Issue #3343 · googleapis/google-cloud-python Closed Labels api: bigqueryIssues related to the BigQuery API. DescriptionI am running a test to upload a .json file into an bigquery table and i cant get the job done. def stream_data2(dataset_name, table_name, json_data): bigquery_client = bigquery.Client() dataset = bigquery_client.dataset(dataset_name) table = dataset.table(table_name) # Reload the table to get the schema. table.reload() job = table.upload_from_file( json_data, source_format='NEWLINE_DELIMITED_JSON', encoding='UTF-8', create_disposition='CREATE_IF_NEEDED', write_disposition='WRITE_APPEND') pprint.pprint(job) with open('clarin.json', 'rb') as json_data: stream_data2(DATASET_NAME, TABLE_NAME, json_data) The job ended in fail with this error: This has no sense becouse i create the table with a json file with the same structure. Any suggestion? Thanks Activity
MetadataMetadataAssigneesLabelsapi: bigqueryIssues related to the BigQuery API. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |