| 20 | } |
| 21 | |
| 22 | QueryProcessingStage::Enum StorageLoop::getQueryProcessingStage( |
| 23 | ContextPtr, QueryProcessingStage::Enum, const StorageSnapshotPtr &, SelectQueryInfo &) const |
| 24 | { |
| 25 | /// `LoopSource` always materialises the inner select with |
| 26 | /// `QueryProcessingStage::Complete`, so the chunks it emits are plain column |
| 27 | /// data. Delegating to `inner_storage` here could advertise `WithMergeableState` |
| 28 | /// (e.g. when the inner storage is `Distributed`) and make the outer planner add |
| 29 | /// a `MergingAggregatedStep`, which then trips on the missing chunk info — see |
| 30 | /// issue #104863. |
| 31 | return QueryProcessingStage::FetchColumns; |
| 32 | } |
| 33 | |
| 34 | void StorageLoop::read( |
| 35 | QueryPlan & query_plan, |
no outgoing calls
no test coverage detected