This is an automated email from the ASF dual-hosted git repository.

zykkk pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 0fcb7dd5037 [fix](regresion) fix 2.0 regression catch unsupported hive 
formatted exception (#29569)
0fcb7dd5037 is described below

commit 0fcb7dd503707088775583edc3180a796f21eed1
Author: slothever <18522955+w...@users.noreply.github.com>
AuthorDate: Fri Jan 5 16:01:11 2024 +0800

    [fix](regresion) fix 2.0 regression catch unsupported hive formatted 
exception (#29569)
---
 .../suites/external_table_p2/hive/test_external_catalog_hive.groovy   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/regression-test/suites/external_table_p2/hive/test_external_catalog_hive.groovy
 
b/regression-test/suites/external_table_p2/hive/test_external_catalog_hive.groovy
index e15b833f06c..ef2b5a32e42 100644
--- 
a/regression-test/suites/external_table_p2/hive/test_external_catalog_hive.groovy
+++ 
b/regression-test/suites/external_table_p2/hive/test_external_catalog_hive.groovy
@@ -113,7 +113,9 @@ suite("test_external_catalog_hive", "p2") {
         try {
             sql """ select * from 
multi_catalog.unsupported_input_format_empty; """
         } catch (Exception e) {
-            assertTrue(e.getMessage().contains("Unsupported hive input format: 
com.hadoop.mapred.DeprecatedLzoTextInputFormat"))
+            if (!e.getMessage().contains("Nonsupport hive metastore table")) {
+                assertTrue(e.getMessage().contains("Unsupported hive input 
format: com.hadoop.mapred.DeprecatedLzoTextInputFormat"))
+            }
         }
 
         // test remember last used database after switch / rename catalog


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to