diff --git a/clickhouse-core/src/main/scala/xenon/clickhouse/parse/AstVisitor.scala b/clickhouse-core/src/main/scala/xenon/clickhouse/parse/AstVisitor.scala index 1d26d7db..52a11ff9 100644 --- a/clickhouse-core/src/main/scala/xenon/clickhouse/parse/AstVisitor.scala +++ b/clickhouse-core/src/main/scala/xenon/clickhouse/parse/AstVisitor.scala @@ -83,7 +83,7 @@ class AstVisitor extends ClickHouseSQLBaseVisitor[AnyRef] with Logging { _ttl = ttlOpt, _settings = settings ) - case eg: String if ("ReplicatedMergeTree" equalsIgnoreCase eg) || ("SharedMergeTree" equalsIgnoreCase eg) => + case eg: String if ("ReplicatedMergeTree" equalsIgnoreCase eg) || ("SharedMergeTree" equalsIgnoreCase eg) => ReplicatedMergeTreeEngineSpec( engine_clause = engineExpr, zk_path = engineArgs.head.asInstanceOf[StringLiteral].value,