Skip to content

Commit

Permalink
Adding SharedMergeTree to Table Spec detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mzitnik committed Jul 14, 2024
1 parent 97da443 commit 20991a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class AstVisitor extends ClickHouseSQLBaseVisitor[AnyRef] with Logging {
_ttl = ttlOpt,
_settings = settings
)
case eg: String if "ReplicatedMergeTree" equalsIgnoreCase eg =>
case eg: String if ("ReplicatedMergeTree" equalsIgnoreCase eg) || ("SharedMergeTree" equalsIgnoreCase eg) =>
ReplicatedMergeTreeEngineSpec(
engine_clause = engineExpr,
zk_path = engineArgs.head.asInstanceOf[StringLiteral].value,
Expand Down

0 comments on commit 20991a7

Please sign in to comment.