Created
September 19, 2019 09:40
-
-
Save terashim/f0d4642f683c4c7fe9777724c40b11b2 to your computer and use it in GitHub Desktop.
BigQueryでデータからBOMを削除する
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
-- BigQueryで列 my_column のBOM (Byte Order Mark) を削除 | |
SELECT | |
REGEXP_REPLACE(my_column, '''\ufeff''', '') | |
FROM | |
my_table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考: nkfを使う方法 https://qiita.com/tamanugi/items/63fe5cf8e709565777a5