Comments (3)
@jaredx435k2d0 we've just added a new --no-prompt
flag to dbt-coves generate
commands (sources, properties and metadata). Check it out in our newest a28
version
This allows you to automate the creation of resources, alongside the usage of already existent flags/args.
For example, the following would generate all sources in all schemas on your DB:
dbt-coves generate sources --schemas "*" --no-prompt
It will auto-flatten and generate all the resulting resources with the filter(s) you use.
A more complex filtering:
dbt-coves generate sources --schemas "my_schema" --select-relations "prefix_*" --update-strategy recreate --no-prompt
from dbt-coves.
This is awesome! I'm planning to use some dbt-coves commands in a regular automation, so this will be perfect.
Just to be clear, there is currently no way to choose to have it NOT flatten JSON, is that correct?
from dbt-coves.
Can you please explain the new recreate
option? Does that delete and recreate, as in I'd lose any existing documentation? Or would it retain that, but just "recreate" in the sense that it refreshes / would now not include any items deleted since the last execution?
from dbt-coves.
Related Issues (20)
- Feature Request: Snowflake: Multithreading for performance? HOT 5
- Question: Should `generate sources` remove sources/staging models that are no longer in the database? HOT 2
- [BUG] (question) `generate sources` doesn't pick up new columns HOT 1
- Request:`generate sources`: Quote columns that use SQL keywords (such as `GROUP`) HOT 3
- [feat] Setup task expansion to cover lifecycle of dbt-coves vendored components
- Feature: Generate docs.md files with link to schema.yml columns
- Feature: Get source descriptions from OpenAPI specifications
- [BUG] Arrays are casted as string or record HOT 4
- [BUG] Unable to install v1.3 via PyPI/pip HOT 2
- Feature request: `generate sources` "update" mode also update staging models (rather than overwrite or leave unchanged) HOT 2
- Allow custom model naming HOT 1
- [BUG] dbt-coves fails to detect columns in schema HOT 8
- Option to not generate source.yml by default HOT 1
- Support for dbt 1.5 HOT 1
- [BUG][bigquery] --schema not working for underscore on bigquery
- [BUG] Precommit config installed in `['.']` folder
- Support Pydantic v2.0
- [BUG] Add `sqlalchemy` as a dependency HOT 5
- Make the settings path configurable
- [BUG] Using env_var results in <ContextVar name='DBT_INVOCATION_CONTEXT_VAR' at 0x 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 dbt-coves.