-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge main #16
base: dap-main
Are you sure you want to change the base?
Merge main #16
Conversation
It seems that there's extra quotes in split_part macro because if you run dbt_utils.get_url_paramter code for clickhouse results in extra quotes around field name.
This reverts commit a99ef52.
Previous commit changed all sql to lowercase. Sorry. Fixed.
Changed from splitByChar to splitByStrig because sometimes you need more than one char to split.
…terialization layout
Fix quotation in split_part macro
…yout-dictionary feat: support range based dictionary layouts
…s-for-empty-model Apply query settings for empty table model
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
…tests-changelog Add range based dictionary to CHANGELOG + tests
Support replace view
revert readme changes
fix: create materialized view on cluster
Revert "fix: create materialized view on cluster"
feat: allow using TLS client certificates
…-issue don't drop local tables when there is no distributed table
…on-cluster Support of insert_overwrite in cluster setup
optimise adding projections and indexes in one statement, to avoid er…
V1.8.9 housekeeping
can_on_cluster = None | ||
engine = None | ||
# We placed a hardcoded const (instead of importing it from dbt-core) in order to decouple the packages | ||
if relation_config.resource_type == NODE_TYPE_SOURCE: | ||
if schema == relation_config.source_name and relation_config.database: | ||
schema = relation_config.database | ||
|
||
if cluster and str(relation_config.config.get("force_on_cluster")).lower() == "true": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting
{%- set local_db_prefix = adapter.get_clickhouse_local_db_prefix() -%} | ||
{% set existing_local = existing_relation.incorporate(path={"identifier": this.identifier + local_suffix, "schema": local_db_prefix + this.schema}) if existing_relation is not none else none %} | ||
|
||
{% if is_distributed %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this mean we could use insert_overwrite for ingestion cluster too?
Will investigate further with ticket DAPA-2889
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quite some substantial additions to MV
Summary
Checklist
Delete items not relevant to your PR: