This commit is contained in:
nikitamikhaylov 2020-10-24 00:05:24 +03:00
parent 7822dafcae
commit fe9440689a
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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