Is there a special incantation to to produce ARRAY_AGG(col IGNORE NULLS) ? I’ve successfully used [:ignore-nulls :col] in analytic functions but it doesn’t seem to work for :array_agg
:ignore-nulls isn't built-in -- can you provide a bit more context here?
I completely forgot that I registered my own :ignore-nulls function. That’s kind of embarrassing 🙂
I’m not sure how common it is across dialects but it’s regularly used in BigQuery SQL
Feel free to create a GH issue for it to be added with a link to supporting docs.
Finally got to it: https://github.com/seancorfield/honeysql/issues/504
Happy to add more docs if helpful
Thanks. I'll add :ignore-nulls and :respect-nulls as "special syntax".