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
{{ message }}
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
Running a untyped query with stringarray of giving error "INVALID_ARGUMENT: The code field is required for types."
This issue is happening after #1869 where the type check for "string" was removed.
Sample query to reproduce the issue. Where column named "StringArray" is of type "StringArray"
const value = ['ghi', 'jkl'];
const query: ExecuteSqlRequest = {
sql: 'SELECT * FROM ABC WHERE EXISTS (SELECT 1 FROM UNNEST(StringArray) AS c WHERE c IN UNNEST(@value))',
params: {
value,
},
};