[fix](test) use different catalog name for test_hive_parquet_skip_page (#46314)

cherry-pick #46315
This commit is contained in:
Mingyu Chen (Rayner)
2025-01-03 09:13:06 +08:00
committed by GitHub
parent a12fa2881f
commit 86f2050af7
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ public class RelationUtil {
String tableName = nameParts.get(0);
CatalogIf catalogIf = context.getCurrentCatalog();
if (catalogIf == null) {
throw new IllegalStateException("Current catalog is not set.");
throw new IllegalStateException(
"Current catalog is not set. default catalog is: " + context.getDefaultCatalog());
}
String catalogName = catalogIf.getName();
String dbName = context.getDatabase();