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
Upon creating a Job the job type is always set to "SELECT". This causes failure when this is used to gather data about the job just run. For example, if one wants to figure out the number of rows affected by any job, they will look up the stats of destination table if it is SELECT - reporting SELECT when its not can create unexpected behaviour trying to look up a table that doesn't exist.
TBH this issue is just related to DBT which would benefit from being able to use the emulator. The way they execute against BQ causes this to be a critical path. Of note I have a PR with DBT which has a lot of people asking about being able to use this emulator locally, and this seems to be the blocker.
bigquery-emulator/server/handler.go
Line 1473 in e411226
Upon creating a Job the job type is always set to "SELECT". This causes failure when this is used to gather data about the job just run. For example, if one wants to figure out the number of rows affected by any job, they will look up the stats of destination table if it is SELECT - reporting SELECT when its not can create unexpected behaviour trying to look up a table that doesn't exist.
TBH this issue is just related to DBT which would benefit from being able to use the emulator. The way they execute against BQ causes this to be a critical path. Of note I have a PR with DBT which has a lot of people asking about being able to use this emulator locally, and this seems to be the blocker.
https://github.com/dbt-labs/dbt-bigquery/blob/62695c9322f71339fd0cc839761643244d4d7ad1/dbt/adapters/bigquery/connections.py#L321
I have too suggestions:
2 doesn't seem great long term, but it would of course be easy and less misleading?
The text was updated successfully, but these errors were encountered: