Save a result set containing repeated field to a destination table

前端 未结 1 545
一整个雨季
一整个雨季 2020-12-19 18:51

I would like to save the result set of the following query to a table.

SELECT

g, NEST(x) AS a

FROM 

(SELECT 1 AS g, 10 AS x), (SELECT 1 AS g, 20 AS x), (S         


        
相关标签:
1条回答
  • 2020-12-19 19:12

    This is a known issue with the NEST function and flattenResults set to false: the two aren't compatible with each other at present. We'd like to fix this but I don't have an ETA as the underlying issue is nontrivial.

    If you have an existing table with a repeated field, you should be able to successfully SELECT it and output it as a repeated field using flattenResults set to false.

    0 讨论(0)
提交回复
热议问题