-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server is dying after groupArrayArray of Array(LowCardinality(String)) #4038
Comments
STacktrace:
|
KochetovNicolai
added a commit
that referenced
this issue
Jan 14, 2019
ztlpn
pushed a commit
that referenced
this issue
Feb 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
SET allow_experimental_low_cardinality_type = 1;
CREATE TABLE test.table1
(
dt Date,
id Int32,
arr Array(LowCardinality(String))
) ENGINE = MergeTree PARTITION BY toMonday(dt)
ORDER BY (dt, id) SETTINGS index_granularity = 8192;
CREATE TABLE test.table2
(
dt Date,
id Int32,
arr Array(LowCardinality(String))
) ENGINE = MergeTree PARTITION BY toMonday(dt)
ORDER BY (dt, id) SETTINGS index_granularity = 8192;
insert into test.table1 (dt, id, arr)
values (toDate(now()), 1, ['aaa']);
insert into test.table2 (dt, id, arr)
values (toDate(now()), 1, ['aaa','bbb','ccc']);
select dt,
id,
groupArrayArray(arr)
from (
select dt, id, arr
from test.table1
where dt = today()
and id = 1
UNION ALL
select dt, id, arr
from test.table2
where dt = today()
and id = 1
)
group by dt, id
The text was updated successfully, but these errors were encountered: