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

Method getSelectQuery

src/Interpreters/ExpressionAnalyzer.cpp:909–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907
908
909const ASTSelectQuery * ExpressionAnalyzer::getSelectQuery() const
910{
911 const auto * select_query = query->as<ASTSelectQuery>();
912 if (!select_query)
913 throw Exception(ErrorCodes::LOGICAL_ERROR, "Not a select query");
914 return select_query;
915}
916
917bool ExpressionAnalyzer::isRemoteStorage() const
918{

Calls 1

ExceptionClass · 0.70

Tested by

no test coverage detected