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

Method sampleSize

src/Parsers/ASTSelectQuery.cpp:363–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362
363ASTPtr ASTSelectQuery::sampleSize() const
364{
365 const ASTTableExpression * table_expression = getFirstTableExpression(*this);
366 if (!table_expression)
367 return {};
368
369 return table_expression->sample_size;
370}
371
372
373ASTPtr ASTSelectQuery::sampleOffset() const

Callers 7

checkAllowedQueriesFunction · 0.80
createChildrenPlansMethod · 0.80
getSamplingMethod · 0.80
isQueryWithSamplingMethod · 0.80
analyzeSelectMethod · 0.80

Calls 1

getFirstTableExpressionFunction · 0.70

Tested by

no test coverage detected