Google Bigquery 쓰면서 알게된 것들 정리

Photo by Pawel Czerwinski on Unsplash

쿼리 결과가 너무 크면 결과 테이블을 설정에서 따로 지정해야한다.

한 row의 최대 크기는 100MB 이다.

사파리 버그

GCS로 테이블 추출

bg extract \
--destination_format=JSON \
PROJECT_NAME \
gs://target/*.jsonl

GCS에서 압축된 파일을 불러오고 싶으면

빠르다

복잡한 구조의 테이블을 접근하는 방법

https://zzsza.github.io/gcp/2020/04/12/bigquery-unnest-array-struct/

쓰다보니 몇 개 없는데 일하다가 알게된 거 있으면 더 추가하겠습니다.

--

--

나는 최고의 선수다. 나를 최고라고 믿지 않는 사람은 최고가 될 수 없다.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
김희규

나는 최고의 선수다. 나를 최고라고 믿지 않는 사람은 최고가 될 수 없다.