This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new fa1de34aad9 branch-3.1: [fix](test) Failed to show create table for
async mv #55278 (#55480)
fa1de34aad9 is described below
commit fa1de34aad953ac777f496ff98925eadfdd86257
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Sep 5 18:18:45 2025 +0800
branch-3.1: [fix](test) Failed to show create table for async mv #55278
(#55480)
Cherry-picked from #55278
Co-authored-by: Uniqueyou <[email protected]>
---
.../suites/data_reliability/check_meta.groovy | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/regression-test/suites/data_reliability/check_meta.groovy
b/regression-test/suites/data_reliability/check_meta.groovy
index 50e887c3e9b..2f788ae140d 100644
--- a/regression-test/suites/data_reliability/check_meta.groovy
+++ b/regression-test/suites/data_reliability/check_meta.groovy
@@ -28,7 +28,23 @@ suite("check_meta", "data_reliability,p3") {
List<List<Object>> tableRes = sql """ show tables from ${db} """
for (tableRow : tableRes) {
def table = tableRow[0]
- def createTableSql = sql """ show create table ${db}.`${table}` """
+ def createTableSql
+ try {
+ createTableSql = sql "show create table ${db}.${table}"
+ } catch (Exception e) {
+ if (e.getMessage().contains("not support async materialized
view")) {
+ try {
+ createTableSql = sql "show create materialized view
${db}.${table}"
+ } catch (Exception e2) {
+ if (e2.getMessage().contains("table not found")) {
+ continue
+ }
+ }
+ } else {
+ logger.warn("Failed to show create materialized view
${db}.${table}: ${e.getMessage()}")
+ continue
+ }
+ }
if (createTableSql[0][1].contains("CREATE VIEW")) {
continue
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]