Sai Sharath Dandi
03/24/2023, 10:11 PMperson_array is an array of rows like ARRAY<ROW< name string, age int > > and I want to extract just the name fields into another array ARRAY< string > . I'd like to know if there's a way to do this with the built-in functions before writing a UDF
SELECT
ARRAY[person_array.name] as person_names
FROM
my_table
-- this is obviously wrong syntaxRaghunadh Nittala
03/25/2023, 1:08 PMSai Sharath Dandi
03/27/2023, 5:32 PMCOLLECT right? there is no array_agg in the flink SQL. I feel like there should be a simpler way to do this without unnestRaghunadh Nittala
03/28/2023, 6:00 AM