This website requires JavaScript.
Explore
Help
Sign In
thevar1able
/
ClickHouse
Watch
1
Star
0
Fork
0
You've already forked ClickHouse
mirror of
https://github.com/ClickHouse/ClickHouse.git
synced
2024-12-04 21:42:39 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
59d32f8c96
ClickHouse
/
tests
/
queries
/
0_stateless
/
02281_limit_by_distributed.reference
3 lines
6 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix "Cannot find column" error for distributed queries with LIMIT BY Consider the following example: SELECT k FROM (SELECT materialize('foo') AS k, -1 AS v) ORDER BY abs(v) AS _v ASC LIMIT 1 BY k The problem here is that in case of query has LIMIT BY for WithMergeableState* (which is the final state on the remote shard for distributd queries) it returns the following columns: - k - v While it should return: - k - abs(v) So as query w/o LIMIT BY, so that initiator will be able to do the sorting Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 10:48:29 +00:00
foo
Fix "Cannot create column of type Set" for distributed queries with LIMIT BY The problem was that after #36454 it requires too much columns. Fixes: #36454 Fixes: #37045 Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 14:08:08 +00:00
0
Reference in New Issue
Copy Permalink