mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
48 lines
736 B
Plaintext
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
|