Comments (3)
For that table specifically I'd expect bqetl query schema update
to only be runnable by DSRE/Airflow or possibly workgroup:search-terms/sanitized-writer since access to that dataset is heavily restricted.
I would expect (or hope) that artifact deployment via Airflow would automatically update this schema.
from bigquery-etl.
Yeah, i would expect the CLI command to fail when it either doesn't have a schema to update or the executor does not have the correct permissions.
from bigquery-etl.
bqetl query schema update
looks for a corresponding query.sql
and doesn't do anything if it doesn't exist (code). I agree that it should fail in that case.
bqetl query schema deploy
looks for query.*
or script.sql
and runs the sql generators if none are found. This will fail if there are still no queries to deploy.
Kind of hacky, but as a workaround, you can add a query.py
stub to allow the schema to be picked up by the schema deploy. I did that here https://github.com/mozilla/bigquery-etl/blob/main/sql/moz-fx-data-shared-prod/telemetry_derived/public_data_report_hardware_v1/query.py
I agree that we should consider making this unnecessary though
from bigquery-etl.
Related Issues (20)
- Separate SQL tests and bigquery-etl tooling tests
- Precompute or optimize queries against firefox_desktop.pageload HOT 10
- bqetl tooling check for updates automatically
- Reduce noise in PR diffs HOT 2
- Views incorrectly removed in CI
- Add additional fields to org_mozilla_broken_site_report.user_reports view
- Require authentication for dry-run function
- Remove the dryrun function and use service accounts instead
- Prompt GCP authentication flow HOT 1
- Better checks to ensure test data files exist for tables referenced in SQL integration tests HOT 1
- Issue with first_seen_date field in fenix.new_profile_activation HOT 1
- Add custom ping into Shredder HOT 4
- Change broken_site_report view to only use historical tables
- Add a separate view for live user_reports
- Improve dryrun skip logic for stage deploys
- Encode Derived Funnel Dimensions into UDF HOT 3
- Adding the ability to override scheduling parameters on backfill
- Support publishing only authorized views
- Use schema.yaml for static tables instead of schema.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigquery-etl.