MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / formatOriginalASTForErrorMessage

Method formatOriginalASTForErrorMessage

src/Analyzer/IQueryTreeNode.cpp:359–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359String IQueryTreeNode::formatOriginalASTForErrorMessage() const
360{
361 if (!original_ast)
362 throw Exception(ErrorCodes::UNSUPPORTED_METHOD, "Original AST was not set");
363
364 return original_ast->formatForErrorMessage();
365}
366
367String IQueryTreeNode::formatConvertedASTForErrorMessage() const
368{

Callers

nothing calls this directly

Calls 2

ExceptionClass · 0.50
formatForErrorMessageMethod · 0.45

Tested by

no test coverage detected