This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new ce20fa23322 branch-3.0: [fix](test) use different catalog name for
test_hive_parquet_skip_page #46315 (#46339)
ce20fa23322 is described below
commit ce20fa23322900cab396b9c7898f81ea288d71bf
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 6 11:05:49 2025 +0800
branch-3.0: [fix](test) use different catalog name for
test_hive_parquet_skip_page #46315 (#46339)
Cherry-picked from #46315
Co-authored-by: Mingyu Chen (Rayner) <[email protected]>
---
.../src/main/java/org/apache/doris/nereids/util/RelationUtil.java | 3 ++-
.../suites/external_table_p0/hive/test_hive_parquet_skip_page.groovy | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/util/RelationUtil.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/util/RelationUtil.java
index b72498a2227..4a7516677d4 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/util/RelationUtil.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/util/RelationUtil.java
@@ -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();
diff --git
a/regression-test/suites/external_table_p0/hive/test_hive_parquet_skip_page.groovy
b/regression-test/suites/external_table_p0/hive/test_hive_parquet_skip_page.groovy
index 67e594b21f1..ebdbedf139d 100644
---
a/regression-test/suites/external_table_p0/hive/test_hive_parquet_skip_page.groovy
+++
b/regression-test/suites/external_table_p0/hive/test_hive_parquet_skip_page.groovy
@@ -97,7 +97,7 @@ suite("test_hive_parquet_skip_page",
"p0,external,hive,external_docker,external_
for (String hivePrefix : ["hive2", "hive3"]) {
try {
String hms_port = context.config.otherConfigs.get(hivePrefix +
"HmsPort")
- String catalog_name = "${hivePrefix}_test_parquet"
+ String catalog_name = "${hivePrefix}_test_parquet_skip_page"
String externalEnvIp =
context.config.otherConfigs.get("externalEnvIp")
sql """drop catalog if exists ${catalog_name}"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]