google / vscode-bigquery

A Visual Studio Code plugin for running BigQuery queries.
https://cloud.google.com/bigquery/
Apache License 2.0
149 stars 22 forks source link

Dry run/query validation #1

Open dan-nom opened 5 years ago

dan-nom commented 5 years ago

Thanks for kicking off this project, been looking for something like this for a while and excited where this could go.

My feature request is to make queries executable in dryRun mode.

Output could be a formatted representation of status.errors[].

I've not had much experience of TypeScript, or written a VSCode extension before, but happy to put together a pull request if you'd consider it.

elithrar commented 5 years ago

More than happy to take a pull request!

Do you see this being a global config option, or a third command “Run Query as Dry Run?” On Tue, Oct 16, 2018 at 10:13 PM Dan Massey notifications@github.com wrote:

Thanks for kicking off this project, been looking for something like this for a while and excited where this could go.

My feature request is to make queries executable in dryRun https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query mode.

Output could be a formatted representation of status.errors[].

I've not had much experience of TypeScript, or written a VSCode extension before, but happy to put together a pull request if you'd consider it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/vscode-bigquery/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIcL_fwBtA1NPoJMJT3SaJODMJPEiPks5ulrxJgaJpZM4XjJQi .

--

Matt Silverlock

Customer Engineer

+1 415-736-7456 Mobile

345 Spear Street, San Francisco, CA 94105

dan-nom commented 5 years ago

Thanks for the quick response, that's great!

I think it should be a third command, and would be used as part of the workflow of writing a query and validating it will run.