File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5539,6 +5539,10 @@ class ArrayConcat(Func):
55395539 is_var_len_args = True
55405540
55415541
5542+ class ArrayConcatAgg (AggFunc ):
5543+ pass
5544+
5545+
55425546class ArrayConstructCompact (Func ):
55435547 arg_types = {"expressions" : True }
55445548 is_var_len_args = True
Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ def test_bigquery(self):
5555 select_with_quoted_udf = self .validate_identity ("SELECT `p.d.UdF`(data) FROM `p.d.t`" )
5656 self .assertEqual (select_with_quoted_udf .selects [0 ].name , "p.d.UdF" )
5757
58+ self .validate_identity ("ARRAY_CONCAT_AGG(x ORDER BY ARRAY_LENGTH(x) LIMIT 2)" )
59+ self .validate_identity ("ARRAY_CONCAT_AGG(x LIMIT 2)" )
60+ self .validate_identity ("ARRAY_CONCAT_AGG(x ORDER BY ARRAY_LENGTH(x))" )
61+ self .validate_identity ("ARRAY_CONCAT_AGG(x)" )
5862 self .validate_identity ("PARSE_TIMESTAMP('%Y-%m-%dT%H:%M:%E*S%z', x)" )
5963 self .validate_identity ("SELECT ARRAY_CONCAT([1])" )
6064 self .validate_identity ("SELECT * FROM READ_CSV('bla.csv')" )
You can’t perform that action at this time.
0 commit comments