这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
383 changes: 267 additions & 116 deletions tests/queries/0_stateless/03008_deduplication.python

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ for insert_method in "InsertSelect" "InsertValues"; do
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" && echo OK || echo FAIL
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ for insert_method in "InsertSelect" "InsertValues"; do
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" && echo OK || echo FAIL
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ for insert_method in "InsertSelect" "InsertValues"; do
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" && echo OK || echo FAIL
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ for insert_method in "InsertSelect" "InsertValues"; do
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" && echo OK || echo FAIL
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ $CLICKHOUSE_CLIENT --max_insert_block_size 1 -mq "
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" 1>/dev/null 2>&1 && echo 'insert_several_blocks_into_table OK' || echo "FAIL: insert_several_blocks_into_table ${THIS_RUN}"

Expand All @@ -59,6 +60,7 @@ $CLICKHOUSE_CLIENT --max_insert_block_size 1 -mq "
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" 1>/dev/null 2>&1 && echo 'mv_generates_several_blocks OK' || echo "FAIL: mv_generates_several_blocks ${THIS_RUN}"

Expand All @@ -72,6 +74,7 @@ $CLICKHOUSE_CLIENT --max_insert_block_size 1 -mq "
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" 1>/dev/null 2>&1 && echo 'several_mv_into_one_table OK' || echo "FAIL: several_mv_into_one_table ${THIS_RUN}"

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ for insert_method in "InsertSelect" "InsertValues"; do
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" && echo OK || echo FAIL
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ for insert_method in "InsertSelect" "InsertValues"; do
--deduplicate-dst-table $deduplicate_dst_table \
--insert-unique-blocks $insert_unique_blocks \
--get-logs false \
--debug-on-fail True \
)
" && echo OK || echo FAIL
done
Expand Down