@@ -287,7 +287,7 @@ def test_mv_is_dropped_on_full_refresh(self, project):
287287 assert len (results ) == 2 # will include also a view for the other test.
288288
289289 # Verify both tables were created correctly
290- assert query_table_type (project , schema_unquoted , 'hackers_mv' ) == "MergeTree"
290+ assert "MergeTree" in query_table_type (project , schema_unquoted , 'hackers_mv' )
291291 assert query_table_type (project , schema_unquoted , 'hackers_mv_mv' ) == "MaterializedView"
292292
293293 # Step 3: Change model to view materialization and run with full refresh
@@ -321,7 +321,7 @@ def test_view_full_refresh_does_not_affect_existing_mv_with_mv_suffix(self, proj
321321
322322 # Verify both models were created correctly
323323 assert query_table_type (project , schema_unquoted , 'hackers' ) == "View"
324- assert query_table_type (project , schema_unquoted , 'hackers_mv' ) == "MergeTree"
324+ assert "MergeTree" in query_table_type (project , schema_unquoted , 'hackers_mv' )
325325 assert query_table_type (project , schema_unquoted , 'hackers_mv_mv' ) == "MaterializedView"
326326
327327 # Verify data is present in both
@@ -341,7 +341,7 @@ def test_view_full_refresh_does_not_affect_existing_mv_with_mv_suffix(self, proj
341341 assert result [0 ][0 ] == 3
342342
343343 # Verify that hackers_mv and hackers_mv_mv are still present and working
344- assert query_table_type (project , schema_unquoted , 'hackers_mv' ) == "MergeTree"
344+ assert "MergeTree" in query_table_type (project , schema_unquoted , 'hackers_mv' )
345345 assert query_table_type (project , schema_unquoted , 'hackers_mv_mv' ) == "MaterializedView"
346346
347347 result = project .run_sql (f"select count(*) from { schema_unquoted } .hackers_mv" , fetch = "all" )
0 commit comments