Skip to content

Commit 633910b

Browse files
committed
Comment registration support for MSSQL engine
Signed-off-by: Ujfalusi Sándor <ujfalusi.sandor@gmail.com>
1 parent 6fe61bc commit 633910b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sqlmesh/core/engine_adapter/fabric.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
from tenacity import retry, stop_after_attempt, wait_exponential, retry_if_result
1010
from sqlmesh.core.engine_adapter.mssql import MSSQLEngineAdapter
1111
from sqlmesh.core.engine_adapter.shared import (
12+
CommentCreationTable,
13+
CommentCreationView,
1214
InsertOverwriteStrategy,
1315
)
1416
from sqlmesh.utils.errors import SQLMeshError
@@ -30,6 +32,8 @@ class FabricEngineAdapter(MSSQLEngineAdapter):
3032
SUPPORTS_TRANSACTIONS = False
3133
SUPPORTS_CREATE_DROP_CATALOG = True
3234
INSERT_OVERWRITE_STRATEGY = InsertOverwriteStrategy.DELETE_INSERT
35+
COMMENT_CREATION_TABLE = CommentCreationTable.UNSUPPORTED
36+
COMMENT_CREATION_VIEW = CommentCreationView.UNSUPPORTED
3337

3438
def __init__(
3539
self, connection_factory_or_pool: t.Union[t.Callable, t.Any], *args: t.Any, **kwargs: t.Any

0 commit comments

Comments
 (0)