Created
December 18, 2019 11:15
-
-
Save yukiyan/a7ea10a0127f0098bbdac642f969bbcb to your computer and use it in GitHub Desktop.
BigQueryのcolumn descriptionをメンテするやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE TABLE `hoge.mart.xxx`( | |
id STRING OPTIONS(description="これはidです") | |
) | |
OPTIONS( | |
description="これはサンプル用のテーブルです" | |
) | |
; | |
INSERT `hoge.mart.xxx` | |
WITH | |
xxx AS ( | |
SELECT | |
id | |
FROM | |
`hoge.source.xxx` | |
) | |
SELECT | |
* | |
FROM | |
xxx | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment