| 144 | } |
| 145 | |
| 146 | std::string_view QueryPlan::getSerializedData() const |
| 147 | { |
| 148 | if (!serialized_plan) |
| 149 | throw Exception(ErrorCodes::LOGICAL_ERROR, |
| 150 | "Query plan is not serialized. Call ensureSerialized() first."); |
| 151 | |
| 152 | return serialized_plan->stringView(); |
| 153 | } |
| 154 | |
| 155 | bool QueryPlan::isSerialized() const |
| 156 | { |
no test coverage detected