Short question: I would like to split a BQ table into multiple small tables, based on the distinct values of a column. So, if column country
has 10 distinct values, it should split the table into 10 individual tables, with each having respective country
data. Best, if done from within a BQ query (using INSERT
, MERGE
, etc.).
What I am doing right now is importing data to gstorage -> local storage -> doing splits locally and then pushing into tables (which is kind of a very time consuming process).
Thanks.