Skip to content

Commit

Permalink
Add clustering to BigQuery tables configuration (#453)
Browse files Browse the repository at this point in the history
Add clustering to BigQuery tables
  • Loading branch information
xemuliam authored and ocsig committed May 19, 2019
1 parent 3cdd35c commit ef6f3d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Expand Up @@ -36,6 +36,7 @@ def generate_config(context):
'expirationTime',
'schema',
'timePartitioning',
'clustering',
'view'
]

Expand Down
Expand Up @@ -74,6 +74,19 @@ properties:
description: |
The only supported type is DAY, which generates one partition
per day.
clustering:
type: object
description: The clustering specification for this table.
properties:
fields:
type: array
description: |
One or more fields on which data should be clustered.
Only top-level, non-repeated, simple-type fields are supported.
The order of the fields will determine how clusters
will be generated, so it is important.
items:
type: string
view:
type: object
description: The view definintion.
Expand Down

0 comments on commit ef6f3d7

Please sign in to comment.