What happened?
Mismatch in output between BigQuery and BigQuery-emulator when running SELECT DISTINCT * FROM (SELECT [0]).
What did you expect to happen?
Expected output:
+-------+
| f0_ |
+-------+
| ["0"] |
+-------+
Actual output:
BigQuery error in query operation: Error processing job [...]: failed to analyze: Column 1 of type ARRAY cannot be used in SELECT DISTINCT [at 1:17]
How can we reproduce it (as minimally and precisely as possible)?
bq query --api http://0.0.0.0:9050 --project_id=test --nouse_legacy_sql "SELECT DISTINCT * FROM (SELECT [0])"
bq query --project_id=test --nouse_legacy_sql "SELECT DISTINCT * FROM (SELECT [0])"
Anything else we need to know?
No response
What happened?
Mismatch in output between BigQuery and BigQuery-emulator when running
SELECT DISTINCT * FROM (SELECT [0]).What did you expect to happen?
Expected output:
+-------+
| f0_ |
+-------+
| ["0"] |
+-------+
Actual output:
BigQuery error in query operation: Error processing job [...]: failed to analyze: Column 1 of type ARRAY cannot be used in SELECT DISTINCT [at 1:17]
How can we reproduce it (as minimally and precisely as possible)?
bq query --api http://0.0.0.0:9050 --project_id=test --nouse_legacy_sql "SELECT DISTINCT * FROM (SELECT [0])"
bq query --project_id=test --nouse_legacy_sql "SELECT DISTINCT * FROM (SELECT [0])"
Anything else we need to know?
No response