ClickHouse/tests/queries/0_stateless/01581_deduplicate_by_columns_replicated.reference
2020-12-21 14:27:46 +02:00

48 lines
736 B
Plaintext

check that we have a data
r1 1 1001 3 2
r1 1 2001 1 1
r1 2 1002 1 1
r1 2 2002 1 1
r1 3 1003 2 2
r1 4 1004 2 2
r1 5 2005 2 2
r1 9 1002 1 1
r2 1 1001 3 2
r2 1 2001 1 1
r2 2 1002 1 1
r2 2 2002 1 1
r2 3 1003 2 2
r2 4 1004 2 2
r2 5 2005 2 2
r2 9 1002 1 1
after old OPTIMIZE DEDUPLICATE
r1 1 1001 2 2
r1 1 2001 1 1
r1 2 1002 1 1
r1 2 2002 1 1
r1 3 1003 2 2
r1 4 1004 2 2
r1 5 2005 2 2
r1 9 1002 1 1
r2 1 1001 2 2
r2 1 2001 1 1
r2 2 1002 1 1
r2 2 2002 1 1
r2 3 1003 2 2
r2 4 1004 2 2
r2 5 2005 2 2
r2 9 1002 1 1
check data again after multiple deduplications with new syntax
r1 1 1001 1 1
r1 2 1002 1 1
r1 3 1003 1 1
r1 4 1004 1 1
r1 5 2005 1 1
r1 9 1002 1 1
r2 1 1001 1 1
r2 2 1002 1 1
r2 3 1003 1 1
r2 4 1004 1 1
r2 5 2005 1 1
r2 9 1002 1 1