Skip to content
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

Open
wants to merge 136 commits into
base: dap-main
Choose a base branch
from
Open

Merge main #16

wants to merge 136 commits into from

Conversation

Magicbeanbuyer
Copy link

Summary

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

benjamin-awd and others added 30 commits July 29, 2024 22:40
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.
Previous commit changed all sql to lowercase. Sorry. Fixed.
Changed from splitByChar to splitByStrig because sometimes you need more
than one char to split.
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
BentsiLeviav and others added 28 commits February 4, 2025 14:54
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…
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":
Copy link
Author

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 %}
Copy link
Author

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

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.