Skip to content

Commit

Permalink
feat: new JSON type through BigQuery Write (#178)
Browse files Browse the repository at this point in the history
Committer: @yirutang
PiperOrigin-RevId: 368275477

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Apr 13 12:51:14 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 95e7f055087a43f638ffd9a0f25ce36dbea87953
Source-Link: googleapis/googleapis@95e7f05
  • Loading branch information
yoshi-automation committed Apr 14, 2021
1 parent 1503f57 commit a6d6afa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions google/cloud/bigquery_storage_v1beta2/proto/table.proto
Expand Up @@ -76,6 +76,9 @@ message TableFieldSchema {

// Interval
INTERVAL = 14;

// JSON, String
JSON = 15;
}

enum Mode {
Expand Down
1 change: 1 addition & 0 deletions google/cloud/bigquery_storage_v1beta2/types/table.py
Expand Up @@ -74,6 +74,7 @@ class Type(proto.Enum):
NUMERIC = 12
BIGNUMERIC = 13
INTERVAL = 14
JSON = 15

class Mode(proto.Enum):
r""""""
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-bigquery-storage.git",
"sha": "f5f999b779e85483d8dcb66885004b2ce0469464"
"sha": "1503f575a78496a770d05d5a7ab4dbcbf1476cd8"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "b1614aa0668564ec41d78b72cf776e0292ffc98c",
"internalRef": "366811078"
"sha": "95e7f055087a43f638ffd9a0f25ce36dbea87953",
"internalRef": "368275477"
}
},
{
Expand Down

0 comments on commit a6d6afa

Please sign in to comment.