| 319 | } |
| 320 | |
| 321 | SharedHeader InterpreterSelectQueryAnalyzer::getSampleBlock(const ASTPtr & query, |
| 322 | const ContextPtr & context, |
| 323 | const SelectQueryOptions & select_query_options) |
| 324 | { |
| 325 | auto select_query_options_copy = select_query_options; |
| 326 | select_query_options_copy.only_analyze = true; |
| 327 | InterpreterSelectQueryAnalyzer interpreter(query, context, select_query_options_copy); |
| 328 | |
| 329 | return interpreter.getSampleBlock(); |
| 330 | } |
| 331 | |
| 332 | std::pair<SharedHeader, PlannerContextPtr> InterpreterSelectQueryAnalyzer::getSampleBlockAndPlannerContext(const QueryTreeNodePtr & query_tree, |
| 333 | const ContextPtr & context, |
nothing calls this directly
no test coverage detected