File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
sqlmesh/core/engine_adapter
tests/core/engine_adapter Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -169,8 +169,6 @@ def _fetch_native_df(
169169
170170 @staticmethod
171171 def _grant_object_kind (table_type : DataObjectType ) -> str :
172- if table_type == DataObjectType .VIEW :
173- return "VIEW"
174172 if table_type == DataObjectType .MATERIALIZED_VIEW :
175173 return "MATERIALIZED VIEW"
176174 return "TABLE"
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def test_sync_grants_config_with_overlaps(
151151 "table_type, expected_keyword" ,
152152 [
153153 (DataObjectType .TABLE , "TABLE" ),
154- (DataObjectType .VIEW , "VIEW " ),
154+ (DataObjectType .VIEW , "TABLE " ),
155155 (DataObjectType .MATERIALIZED_VIEW , "MATERIALIZED VIEW" ),
156156 ],
157157)
You can’t perform that action at this time.
0 commit comments