@@ -1461,8 +1461,8 @@ def workflow_test_system_table_indexes(c: Composition) -> None:
14611461 FROM mz_views;
14621462 CREATE DEFAULT INDEX ON v_mz_views;
14631463
1464- > SELECT id FROM mz_indexes WHERE id like 'u%';
1465- u2
1464+ > SELECT name FROM mz_indexes WHERE id like 'u%';
1465+ v_mz_views_primary_idx
14661466 """
14671467 )
14681468 )
@@ -1476,8 +1476,8 @@ def workflow_test_system_table_indexes(c: Composition) -> None:
14761476 c .testdrive (
14771477 input = dedent (
14781478 """
1479- > SELECT id FROM mz_indexes WHERE id like 'u%';
1480- u2
1479+ > SELECT name FROM mz_indexes WHERE id like 'u%';
1480+ v_mz_views_primary_idx
14811481 """
14821482 )
14831483 )
@@ -4794,7 +4794,7 @@ def workflow_test_adhoc_system_indexes(
47944794 WHERE i.name = 'mz_test_idx1'
47954795 """
47964796 )
4797- assert output [0 ] == ("u1" , "mz_tables" , "mz_catalog_server" ), output
4797+ assert output [0 ][ 1 :] == ("mz_tables" , "mz_catalog_server" ), output
47984798 output = c .sql_query ("EXPLAIN SELECT * FROM mz_tables WHERE char_length(name) = 9" )
47994799 assert "mz_test_idx1" in output [0 ][0 ], output
48004800 output = c .sql_query ("SELECT * FROM mz_tables WHERE char_length(name) = 9" )
@@ -4823,7 +4823,7 @@ def workflow_test_adhoc_system_indexes(
48234823 WHERE i.name = 'mz_test_idx2'
48244824 """
48254825 )
4826- assert output [0 ] == ("u2" , "mz_hydration_statuses" , "mz_catalog_server" ), output
4826+ assert output [0 ][ 1 :] == ("mz_hydration_statuses" , "mz_catalog_server" ), output
48274827 output = c .sql_query (
48284828 "EXPLAIN SELECT * FROM mz_internal.mz_hydration_statuses WHERE hydrated"
48294829 )
@@ -4848,8 +4848,8 @@ def workflow_test_adhoc_system_indexes(
48484848 ORDER BY id
48494849 """
48504850 )
4851- assert output [0 ] == ("u1" , "mz_tables" , "mz_catalog_server" ), output
4852- assert output [1 ] == ("u2" , "mz_hydration_statuses" , "mz_catalog_server" ), output
4851+ assert output [0 ][ 1 :] == ("mz_tables" , "mz_catalog_server" ), output
4852+ assert output [1 ][ 1 :] == ("mz_hydration_statuses" , "mz_catalog_server" ), output
48534853
48544854 # Make sure the new indexes can be dropped again.
48554855 c .sql (
0 commit comments