Skip to content

Some optimizations are broken with object_storage_cluster #2245

Description

@ianton-ru
select count() from (select * from datalake.`iceberg.foo` as foo left join datalake.`iceberg.bar` as bar on foo.symbol=bar.symbol where foo.bid>=3) settings object_storage_cluster='ch-cluster-23', log_comment='test_select_from_select_join'

select count() from (select * from datalake.`iceberg.foo` as foo where foo.bid>=3) settings object_storage_cluster='ch-cluster-23', log_comment='test_select_from_select'

select * from datalake.`iceberg.foo` as foo left join datalake.`iceberg.bar` as bar on foo.symbol=bar.symbol where foo.bid>=3 settings object_storage_cluster='ch-cluster-23', log_comment='test_select_join'


select log_comment,ProfileEvents['IcebergMinMaxIndexPrunedFiles'] as pruned from system.query_log where type='QueryFinish' and log_comment like 'test_select_%'

   ┌─log_comment──────────────────┬─pruned─┐
1. │ test_select_from_select_join │      0 │
2. │ test_select_from_select      │      2 │
3. │ test_select_join             │      2 │
   └──────────────────────────────┴────────┘

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions