mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
59fc301344
Also logging expanded list of columns passed from `DEDUPLICATE BY` to actual deduplication routines.
48 lines
824 B
Plaintext
48 lines
824 B
Plaintext
check that we have a data
|
|
r1 1 1001 3 2 2
|
|
r1 1 2001 1 1 1
|
|
r1 2 1002 1 1 1
|
|
r1 2 2002 1 1 1
|
|
r1 3 1003 2 2 2
|
|
r1 4 1004 2 2 2
|
|
r1 5 2005 2 2 1
|
|
r1 9 1002 1 1 1
|
|
r2 1 1001 3 2 2
|
|
r2 1 2001 1 1 1
|
|
r2 2 1002 1 1 1
|
|
r2 2 2002 1 1 1
|
|
r2 3 1003 2 2 2
|
|
r2 4 1004 2 2 2
|
|
r2 5 2005 2 2 1
|
|
r2 9 1002 1 1 1
|
|
after old OPTIMIZE DEDUPLICATE
|
|
r1 1 1001 3 2 2
|
|
r1 1 2001 1 1 1
|
|
r1 2 1002 1 1 1
|
|
r1 2 2002 1 1 1
|
|
r1 3 1003 2 2 2
|
|
r1 4 1004 2 2 2
|
|
r1 5 2005 2 2 1
|
|
r1 9 1002 1 1 1
|
|
r2 1 1001 3 2 2
|
|
r2 1 2001 1 1 1
|
|
r2 2 1002 1 1 1
|
|
r2 2 2002 1 1 1
|
|
r2 3 1003 2 2 2
|
|
r2 4 1004 2 2 2
|
|
r2 5 2005 2 2 1
|
|
r2 9 1002 1 1 1
|
|
check data again after multiple deduplications with new syntax
|
|
r1 1 1001 1 1 1
|
|
r1 2 1002 1 1 1
|
|
r1 3 1003 1 1 1
|
|
r1 4 1004 1 1 1
|
|
r1 5 2005 1 1 1
|
|
r1 9 1002 1 1 1
|
|
r2 1 1001 1 1 1
|
|
r2 2 1002 1 1 1
|
|
r2 3 1003 1 1 1
|
|
r2 4 1004 1 1 1
|
|
r2 5 2005 1 1 1
|
|
r2 9 1002 1 1 1
|