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

Function isExtendedDefinitionStorage

programs/copier/Internals.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93bool isExtendedDefinitionStorage(const ASTPtr & storage_ast)
94{
95 const auto & storage = storage_ast->as<ASTStorage &>();
96 return storage.partition_by || storage.order_by || storage.sample_by || storage.unique_key;
97}
98
99ASTPtr extractPartitionKey(const ASTPtr & storage_ast)
100{

Callers 3

extractPartitionKeyFunction · 0.85
extractPrimaryKeyFunction · 0.85
extractOrderByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected