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

Method sampleOffset

src/Parsers/ASTSelectQuery.cpp:383–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381
382
383ASTPtr ASTSelectQuery::sampleOffset() const
384{
385 const ASTTableExpression * table_expression = getFirstTableExpression(*this);
386 if (!table_expression)
387 return {};
388
389 return table_expression->sample_offset;
390}
391
392
393bool ASTSelectQuery::final() const

Callers 8

getSamplingMethod · 0.80
visitAggregatingNodeMethod · 0.80
printDetailMethod · 0.80
setStepDetailMethod · 0.80
printTableScanStepMethod · 0.80
planReadFromStorageMethod · 0.80
checkSampleMethod · 0.80
analyzeSelectMethod · 0.80

Calls 1

getFirstTableExpressionFunction · 0.70

Tested by

no test coverage detected