ClickHouse: Logical error: Not-ready Set is passed
clickhouse-local --multiquery "
CREATE TABLE t (item_id UInt64, price_sold Nullable(Float32), date Date) ENGINE = MergeTree ORDER BY item_id;
SELECT * FROM (SELECT item_id FROM t GROUP BY item_id WITH TOTALS ORDER BY '922337203.6854775806' IN (SELECT NULL) ASC, [NULL, -2, NULL, NULL] ASC NULLS FIRST, item_id ASC NULLS LAST) AS l RIGHT JOIN (SELECT item_id FROM t) AS r ON l.item_id = r.item_id WHERE NULL IN (SELECT NULL);
"
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 24 (22 by maintainers)
Commits related to this issue
- wait when fix https://github.com/ClickHouse/ClickHouse/issues/52991#issuecomment-1871175633, improve keeper manifests, test_metrics_exporter.py, test_alerts, test_keeper.py and test_operator.py passed... — committed to Altinity/clickhouse-operator by Slach 6 months ago
- Convert query to workaround ClickHouse bug https://github.com/ClickHouse/ClickHouse/issues/52991#issuecomment-1871175633 — committed to Altinity/clickhouse-operator by alex-zaitsev 6 months ago
More:
Another one, with a Merge table and a distributed query. 24.2+ https://fiddle.clickhouse.com/4f181521-8538-4a38-81b8-a64777db1d75
Another way to reproduce: https://pastila.nl/?0012e4bc/7be5a9610dbf3131fa1b4756655fbd9c#DbsyV0HH2PD8uF+jHbSCSQ==