New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: BigQuery: limit amount of MB processed per query #710

Merged
merged 4 commits into from Dec 16, 2015

Conversation

Projects
None yet
2 participants
@ryotarai
Contributor

ryotarai commented Dec 16, 2015

Sometimes, a query executed on BigQuery highly costs. To prevent that, I added totalMBytesProcessedLimit parameter to BigQuery runner.
If totalMBytesProcessedLimit is set, the runner will dry-run a query and check data size which will be processed, and if the data is larger than totalMBytesProcessedLimit, an error occur like the following image.

re dash new query 2015-12-16 20-31-56

This PR contains indent changes, so compare view ignoring whitespace is more understandable: https://github.com/getredash/redash/compare/master...ryotarai:bq-max-mb-processed?w=

@arikfr arikfr changed the title from Add totalMBytesProcessedLimit param for BigQuery runner: to Feature: BigQuery: limit amount of MB processed per query Dec 16, 2015

arikfr added a commit that referenced this pull request Dec 16, 2015

Merge pull request #710 from ryotarai/bq-max-mb-processed
Feature: BigQuery: limit amount of MB processed per query

@arikfr arikfr merged commit 85916ef into getredash:master Dec 16, 2015

1 check passed

ci/circleci Your tests passed on CircleCI!
Details
@arikfr

This comment has been minimized.

Show comment
Hide comment
@arikfr

arikfr Dec 16, 2015

Member

Awesome! Will be useful for the demo instance too (although until now it doesn't look like anyone been abusing it).

Member

arikfr commented Dec 16, 2015

Awesome! Will be useful for the demo instance too (although until now it doesn't look like anyone been abusing it).

@ryotarai ryotarai deleted the ryotarai:bq-max-mb-processed branch Dec 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment