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

Method sampleOffset

src/Parsers/ASTSelectQuery.cpp:373–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371
372
373ASTPtr ASTSelectQuery::sampleOffset() const
374{
375 const ASTTableExpression * table_expression = getFirstTableExpression(*this);
376 if (!table_expression)
377 return {};
378
379 return table_expression->sample_offset;
380}
381
382
383bool ASTSelectQuery::final() const

Callers 2

getSamplingMethod · 0.80
analyzeSelectMethod · 0.80

Calls 1

getFirstTableExpressionFunction · 0.70

Tested by

no test coverage detected