尝试在结构列中更新/插入(单个结构数组中的 500k 行)记录。它会引发屏幕截图中显示的以下错误。下面是查询
insert into test_dataset.hierarchy
select create_date_time,update_date_time,name,
ARRAY_AGG(struct( id,dba_name, dba_address1, dba_address2, dba_city, dba_state, dba_country, dba_postal_code, dba_fax_number, dba_primary_phone_number, dba_secondary_phone_number, dba_email,
[struct( attribute_name, attribute_value)] as attribute_array)) as m_array
from test_dataset.temp
group by 1,2,3;
Run Code Online (Sandbox Code Playgroud)
在这个问题上需要帮助。