til.duyet.net
blog
Search…
til.duyet.net
🤪
Today I Learned
Data Engineering
☁
AWS
⚒
Tools
💻
Shell
☸
Kubernetes, Helm, Kustomize
🔄
Apache Airflow
🐳
Docker
Database
Google BigQuery
BigQuery Cancel Running Query
BigQuery - Split string and get the first part
BigQuery - UNNEST in SELECT
Bigquery - Sample queries for audiences based
BigQuery cookbook for Google Analytics Exported Data
Apache Hive
AWS Redshift / Postgres
Presto
Programming
🍪
Rust
🐍
Python
👻
Golang
💎
Javascript / Typescript
✨
FE / React
Unix
Git - Pretty git branch graphs
Checking files in Docker build context
Bash get the directory of the current script
Vim
Find and replace
Miscellaneous
[Fig] Single machine and distributed system structure
Deploying Machine Learning Models at Scale
Bypass a Chrome certificate/HSTS error
Articles
Powered By GitBook
BigQuery - UNNEST in SELECT
We can use UNNEST in the nested fields, rather than unnesting in the WHERE clause and JOIN
1
SELECT
2
event_name,
3
(SELECT value.int_value FROM UNNEST(event_params) WHERE key = "value") as score,
4
FROM `example_*`
Copied!
Previous
BigQuery - Split string and get the first part
Next
Bigquery - Sample queries for audiences based
Last modified 1yr ago
Copy link
Edit on GitHub