Comments (2)
I'm not aware of anyone working on this, let's introduce it as a separate strategy configured as on_table_exists = 'replace'
.
I don't think we have a way to determine if this is supported on server side, please correct me if I'm wrong @mdesmet
from dbt-trino.
Theoretically you could get the version of the server (via various means including version() function) and decide with that info. The problem is that it will be different for each connector so it will only be true after you figure out the connector used in a specific catalog (which you can also do via a query).
You could just leave it to the user to worry about and deal with it in the same way you deal with any other statement that might or might not be supported by the Trino version of the server and the connector. For example think of MERGE or TRUNCATE .. are you doing anything about these in terms of validation?
from dbt-trino.
Related Issues (20)
- Set the `comment` on `CREATE TABLE` HOT 3
- Double `describe table`
- Failing quote policy tests on galaxy HOT 3
- Add retry mechanism for the given error HOT 1
- Incremental model with on_schema_change='sync_all_columns' does not work with data type changes HOT 1
- Change full-refresh behaviour to drop target table after successful run HOT 2
- Include query_id in run results for seed HOT 1
- Invalid SQL generated for dbt_project_evaluator HOT 1
- dbt-trino adds comment into table create statement by default HOT 2
- dbt-Trino snapshot cannot create __dbt_tmp table after first run HOT 12
- Add tests for aliases
- Add copyright notices to files HOT 1
- Support elementary in improving data-quality capabilities HOT 3
- Extend Hive test coverage
- upgrade to support dbt-core v1.7.0 HOT 1
- Incorrect Schema Used When Renaming Materialized Views HOT 4
- Support CASCADE dropping relations
- Solving for large stage depths HOT 3
- get_relation not working as already_exists HOT 4
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-trino.