You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PostgreSQL also supports ARRAY(subquery) and the docs have an example showing how to do that:
user=> (sql/format {:select [[[:'ARRAY {:select:oid:from:pg_proc:where [:like:proname [:inline"bytea%"]]}]]]})
["SELECT ARRAY (SELECT oid FROM pg_proc WHERE proname LIKE 'bytea%')"]
So, you have a way to do it right now but it would make sense for me to adjust how :array works with subqueries so the workaround with ' isn't needed for PostgreSQL either.
https://cloud.google.com/bigquery/docs/reference/standard-sql/array_functions#array
The text was updated successfully, but these errors were encountered: