| 598 | } |
| 599 | |
| 600 | static QueryPlan deserializeQueryPlan(const String & serialized_query_plan, ContextPtr context) |
| 601 | { |
| 602 | ReadBufferFromString in(serialized_query_plan); |
| 603 | auto plan_and_sets = QueryPlan::deserialize(in, context); |
| 604 | return QueryPlan::makeSets(std::move(plan_and_sets), context); |
| 605 | } |
| 606 | |
| 607 | void doExecuteTask(const DistributedQueryTaskDescription & task_description, ObjectStoragePtr object_storage, |
| 608 | const String & object_storage_path, const String & distributed_query_id, ContextMutablePtr context, |