mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
24b8bbe9fa
1 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Arthur Passos
|
24b8bbe9fa
|
Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition (#39507)
* temp commit * temp commit * draft impl for feedback * fix weird style changes * fix weird style changes * fix weird style changes * fix weird style changes * fix weird style changes * aa * aa * Add integ tests and remove partition key restriction * fix small incosistency in partition id * style fix * style fix * style fix * use existing DataPartStorageBuilder instead of new one * Refactor part clone to make it more readable and maintainable * Add MergeTreeDataPartCloner docs * define ErrorCodes::BAD_ARGUMENTS * Rebase * camel case methods * address some comments * yet another rebase? * Move from integ tests to stateless tests * address more comments * add finalize on min_max_idx files * Add sync option to DistinctPartitionExpCloner * just a temp test * revert temp change * Use echoOn to distinguish test queries * remove comment * fix build issue during rebase * atempt to fix build after rebase * finally fix build * clear minmaxidx hyperrectangle before loading it * Fix error on min_max files deletion where it was being assumed that partition expression contained all columns * get it to the state it was previously * add missing include * getting functional? * refactoring and renaming * some more refactoring * extern bad arguments * try to fix style * improvements and docs * remove duplicate includes * fix crash * make tests more stable by ordering * rebase once again.. * fix * make ci happy? * fix rebase issues * docs * rebase, but prolly needs to be improved * refactor out from nasty inheritance to static methods * fix style * work around optional * refactor & integrate some changes * update column_type * add tests by dencrane * set utc * fix ref file * fix tests * use MergeTree instead of SummingMergeTree * mark MergeTreeDataPart::getBlock as const * address a few comments * compute module function name size at compile time * simplify branching in getPartitionAstFieldsCount * remove column_indexes argument * merge getBlock with buildBlock * add some const specifiers * small adjustments * remove no longer needed isNull check * use std::min and max to update global min max idx * add some assertions * forward declare some symbols * fix grammar * forward decl * try to fix build.. * remove IFunction forward decl * Revert "use std::min and max to update global min max idx" This reverts commit |