Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
[#3] Processing to BQ error, insertErrors
Browse files Browse the repository at this point in the history
In Issue #3, the insert of some tweet data into BigQuery fails because the schema is missing these keys:
retweeted_status.reply_count
retweeted_status.user.translator_type
retweeted_status.quote_count
user.translator_type

This commit fixes the schema to include these new keys

Fixes #3
  • Loading branch information
yfauser committed Oct 23, 2017
1 parent c938ccb commit 0ceb148
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions bigquery-setup/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@
"type": "BOOLEAN",
"mode": "NULLABLE"
},
{
"name": "translator_type",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "profile_background_color",
"type": "STRING",
Expand Down Expand Up @@ -754,6 +759,16 @@
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "reply_count",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "quote_count",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "user",
"type": "RECORD",
Expand Down Expand Up @@ -864,6 +879,11 @@
"type": "BOOLEAN",
"mode": "NULLABLE"
},
{
"name": "translator_type",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "profile_background_color",
"type": "STRING",
Expand Down

0 comments on commit 0ceb148

Please sign in to comment.