| 91 | |
| 92 | |
| 93 | bool 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 | |
| 99 | ASTPtr extractPartitionKey(const ASTPtr & storage_ast) |
| 100 | { |
no outgoing calls
no test coverage detected