I don’t know - maybe it’s not in the sql standard? Can’t deduce a type? Any existing issues logged?
Julian > On Jul 31, 2023, at 6:35 PM, [email protected] wrote: > > Hello, > > > > It looks to me like the Calcite grammar does not accept empty array literals > "ARRAY[]". > > This sounds like a serious omission. > > Is there a fundamental reason why this isn't in the grammar? > > If there isn't, I can file an issue for it. > > I can see a workaround using the Spark "ARRAY()" function. > > > > Thank you, > > Mihai >
