You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like GROUP BY doesn't work over Variant type.
How to reproduce
ClickHouse client version 24.2.1.628 (official build).
Connecting to database staging at example.com:9000 as user admin.
Connected to ClickHouse server version 24.1.2.
SELECT
event_name,
argMax(event_value, created_at) AS last_value,
max(created_at) AS last
FROM test_variant
FINAL
GROUP BY event_name
Query id: 7171774d-d76b-47f7-b121-b4d2b5782355
Elapsed: 0.131 sec.
Received exception from server (version 24.1.2):
Code: 48. DB::Exception: Received from example.com:9000. DB::Exception: Cannot insert field Test2 to column Variant(String, UInt64): While executing ConvertingAggregatedToChunksTransform. (NOT_IMPLEMENTED)
The text was updated successfully, but these errors were encountered:
Describe the unexpected behaviour
It looks like
GROUP BY
doesn't work overVariant
type.How to reproduce
And final query:
The text was updated successfully, but these errors were encountered: