@@ -68,15 +68,15 @@ public void testReloadCache()
68
68
throws IOException , ExecutionException , InterruptedException , TimeoutException
69
69
{
70
70
String beforeName = "Revenue" ;
71
- CatalogSchemaTableName beforeCatalogSchemaTableName = new CatalogSchemaTableName ("canner-cml " , "tpch_tiny" , beforeName );
71
+ CatalogSchemaTableName beforeCatalogSchemaTableName = new CatalogSchemaTableName ("wrenai " , "tpch_tiny" , beforeName );
72
72
Optional <CacheInfoPair > cacheInfoPairOptional = getDefaultCacheInfoPair (beforeName );
73
73
assertThat (cacheInfoPairOptional ).isPresent ();
74
74
String beforeMappingName = cacheInfoPairOptional .get ().getRequiredTableName ();
75
75
assertCache (beforeName );
76
76
77
77
deployMDL ("cache/cache_reload_2_mdl.json" );
78
78
waitUntilReady ();
79
- waitUntilFinished (catalogSchemaTableName ("canner-cml " , "tpch_tiny" , "Revenue_After" ));
79
+ waitUntilFinished (catalogSchemaTableName ("wrenai " , "tpch_tiny" , "Revenue_After" ));
80
80
assertCache ("Revenue_After" );
81
81
82
82
List <Object []> tables = queryDuckdb ("show tables" );
@@ -87,13 +87,13 @@ public void testReloadCache()
87
87
88
88
deployMDL ("cache/cache_reload_1_mdl.json" );
89
89
waitUntilReady ();
90
- waitUntilFinished (catalogSchemaTableName ("canner-cml " , "tpch_tiny" , "Revenue" ));
90
+ waitUntilFinished (catalogSchemaTableName ("wrenai " , "tpch_tiny" , "Revenue" ));
91
91
92
- List <TaskInfo > taskInfos = getTaskInfo ("canner-cml " , "tpch_tiny" );
92
+ List <TaskInfo > taskInfos = getTaskInfo ("wrenai " , "tpch_tiny" );
93
93
assertThat (taskInfos .size ()).isEqualTo (1 );
94
94
TaskInfo taskInfo = taskInfos .get (0 );
95
95
assertCache ("Revenue" );
96
- assertThat (taskInfo .getCatalogName ()).isEqualTo ("canner-cml " );
96
+ assertThat (taskInfo .getCatalogName ()).isEqualTo ("wrenai " );
97
97
assertThat (taskInfo .getSchemaName ()).isEqualTo ("tpch_tiny" );
98
98
assertThat (taskInfo .getTaskStatus ()).isEqualTo (DONE );
99
99
assertThat (taskInfo .getStartTime ()).isNotNull ();
@@ -108,7 +108,7 @@ public void testReloadCache()
108
108
109
109
deployMDL ("cache/cache_reload_3_mdl.json" );
110
110
waitUntilReady ();
111
- taskInfo = waitUntilFinished (catalogSchemaTableName ("canner-cml " , "tpch_tiny" , "Revenue_Fake" ));
111
+ taskInfo = waitUntilFinished (catalogSchemaTableName ("wrenai " , "tpch_tiny" , "Revenue_Fake" ));
112
112
cachedTable = taskInfo .getCachedTable ();
113
113
assertThat (cachedTable .getErrorMessage ()).isPresent ();
114
114
assertThat (taskInfo .getEndTime ()).isAfter (taskInfo .getStartTime ());
@@ -127,7 +127,7 @@ private void deployMDL(String resourcePath)
127
127
128
128
private void assertCache (String name )
129
129
{
130
- CatalogSchemaTableName mapping = new CatalogSchemaTableName ("canner-cml " , "tpch_tiny" , name );
130
+ CatalogSchemaTableName mapping = new CatalogSchemaTableName ("wrenai " , "tpch_tiny" , name );
131
131
Optional <CacheInfoPair > cacheInfoPairOptional = getDefaultCacheInfoPair (name );
132
132
assertThat (cacheInfoPairOptional ).isPresent ();
133
133
String mappingName = cacheInfoPairOptional .get ().getRequiredTableName ();
0 commit comments