How to transpose rows to columns with large amount of the data in BigQuery/SQL?

后端 未结 2 670
别跟我提以往
别跟我提以往 2020-11-30 15:23

I have a problem in transposing a large amount of data table in BigQuery (1.5 billion rows) from rows to columns. I could figure out how to do it with small amount of data w

2条回答
  •  一向
    一向 (楼主)
    2020-11-30 16:12

    Hi @Jade I posted a very similar question before. And got a very helpful (and similar) answer from @MikhailBerlyant. For what it's worth, I had about 4000 features to dummify in my case and also ran into "Resources exceeded during query execution" error.

    I think that this type of large-scale data transformation (rather than query) is better left for other tools more suitable for this task (such as Spark).

提交回复
热议问题