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
For example, bq --api="http://localhost:9050" --project_id="test" mk --dataset test (with ./bigquery-emulator --project test) failed with following error:
BigQuery error in mk operation: Could not connect with BigQuery server.
Http response status: 404
Http response content:
b'dataset test is not found'
bq checks if dataset/table/etc already exists before creating it. Of course bigquery-emulator already returns 404, but bq can't handle plain text error.
For example,
bq --api="http://localhost:9050" --project_id="test" mk --dataset test
(with./bigquery-emulator --project test
) failed with following error:bq checks if dataset/table/etc already exists before creating it. Of course bigquery-emulator already returns 404, but bq can't handle plain text error.
bigquery-emulator/server/middleware.go
Line 182 in d7a7d9a
I fixed errors by following https://cloud.google.com/bigquery/docs/error-messages with minimal example:
The text was updated successfully, but these errors were encountered: