Skip to content

Commit 240471c

Browse files
cookieark7cookieark
andauthored
fix(clickhouse): register table comments via command instead of inline CTAS (#6007)
Signed-off-by: cookieark <aishwary.kantode@gmail.com> Co-authored-by: cookieark <aishwary.kantode@gmail.com>
1 parent 4c54937 commit 240471c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sqlmesh/core/engine_adapter/clickhouse.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
DataObjectType,
1414
EngineRunMode,
1515
SourceQuery,
16+
CommentCreationTable,
1617
CommentCreationView,
1718
InsertOverwriteStrategy,
1819
)
@@ -36,6 +37,7 @@ class ClickhouseEngineAdapter(EngineAdapterWithIndexSupport, LogicalMergeMixin):
3637
SUPPORTS_TRANSACTIONS = False
3738
SUPPORTS_VIEW_SCHEMA = False
3839
SUPPORTS_REPLACE_TABLE = False
40+
COMMENT_CREATION_TABLE = CommentCreationTable.COMMENT_COMMAND_ONLY
3941
COMMENT_CREATION_VIEW = CommentCreationView.COMMENT_COMMAND_ONLY
4042

4143
SCHEMA_DIFFER_KWARGS = {}

0 commit comments

Comments
 (0)