mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
better
This commit is contained in:
parent
7822dafcae
commit
fe9440689a
@ -132,7 +132,7 @@ public:
|
||||
Data(const Context & context_, SizeLimits set_size_limit_, size_t subquery_depth_,
|
||||
const NamesAndTypesList & source_columns_, ActionsDAGPtr actions,
|
||||
PreparedSets & prepared_sets_, SubqueriesForSets & subqueries_for_sets_,
|
||||
bool no_subqueries_, bool no_makeset_, bool only_consts_, bool no_storage_or_local_,
|
||||
bool no_subqueries_, bool no_makeset_, bool only_consts_, bool no_storage_or_local_,
|
||||
bool has_having);
|
||||
|
||||
/// Does result of the calculation already exists in the block.
|
||||
|
@ -6,7 +6,7 @@ SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT a
|
||||
FROM remote('127.0.0.{1,2}', default, local_t)
|
||||
FROM remote('127.0.0.{1,2}', currentDatabase(), local_t)
|
||||
GROUP BY a
|
||||
WITH TOTALS
|
||||
)
|
||||
@ -20,7 +20,7 @@ SELECT *
|
||||
FROM
|
||||
(
|
||||
SELECT a
|
||||
FROM remote('127.0.0.1', default, local_t)
|
||||
FROM remote('127.0.0.1', currentDatabase(), local_t)
|
||||
GROUP BY a
|
||||
WITH TOTALS
|
||||
)
|
||||
@ -33,7 +33,7 @@ SELECT 'with explicit having';
|
||||
SELECT
|
||||
a,
|
||||
count()
|
||||
FROM remote('127.0.0.{1,2}', default, t)
|
||||
FROM remote('127.0.0.{1,2}', currentDatabase(), local_t)
|
||||
GROUP BY a
|
||||
WITH TOTALS
|
||||
HAVING a IN
|
||||
|
Loading…
Reference in New Issue
Block a user