-
Notifications
You must be signed in to change notification settings - Fork 111
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
insert_overwrite (insert+replace) partitions incremental strategy #201
insert_overwrite (insert+replace) partitions incremental strategy #201
Commits on Jul 15, 2024
-
dbt/include/clickhouse/macros/materializations/incremental.sql: imple…
…ment insert+replace strategy TODO: convert partition_expression to ClickHouse literals
Configuration menu - View commit details
-
Copy full SHA for ae4ca48 - Browse repository at this point
Copy the full SHA ae4ca48View commit details -
dbt/include/clickhouse/macros/materializations/incremental.sql: check…
… nonempty partition_by
Configuration menu - View commit details
-
Copy full SHA for b6cbca9 - Browse repository at this point
Copy the full SHA b6cbca9View commit details -
dbt/include/clickhouse/macros/materializations/incremental.sql: selec…
…ting affected partitions from system.parts This allows to avoid translation of agate.Row to ClickHouse literals.
Configuration menu - View commit details
-
Copy full SHA for 5c44c60 - Browse repository at this point
Copy the full SHA 5c44c60View commit details -
dbt/include/clickhouse/macros/materializations/incremental.sql: syste…
…m.parts.partition_id -> partition partition_id is a String field with internal partition ID, it cannot be used in REPLACE PARTITION clause. "partition" field is a string representation of partition expression and can be used in a REPLACE PARTITION query as-is.
Configuration menu - View commit details
-
Copy full SHA for 06cafb1 - Browse repository at this point
Copy the full SHA 06cafb1View commit details -
dbt/include/clickhouse/macros/materializations/incremental.sql: ident…
…ify partition by ID system.parts.partition field does not work for strings. ClickHouse allows to manipulate partitions referencing their IDs.
Configuration menu - View commit details
-
Copy full SHA for add2ff8 - Browse repository at this point
Copy the full SHA add2ff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b966767 - Browse repository at this point
Copy the full SHA b966767View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6869ed2 - Browse repository at this point
Copy the full SHA 6869ed2View commit details -
tests/integration/adapter/incremental/test_incremental.py: covered in…
…sert+replace with tests
Configuration menu - View commit details
-
Copy full SHA for e4bd2cc - Browse repository at this point
Copy the full SHA e4bd2ccView commit details -
Renamed insert+replace strategy to insert_overwrite
According to a PR review comments
Configuration menu - View commit details
-
Copy full SHA for 616ea7a - Browse repository at this point
Copy the full SHA 616ea7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6383bef - Browse repository at this point
Copy the full SHA 6383befView commit details