This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ff05e1179e3 [bugfix](test)Set the enable_fallback_to_original_planner
behavior (#40913)
ff05e1179e3 is described below
commit ff05e1179e3be7db79d3e8349653a9ac50366f30
Author: wuwenchi <[email protected]>
AuthorDate: Wed Sep 18 22:01:21 2024 +0800
[bugfix](test)Set the enable_fallback_to_original_planner behavior (#40913)
## Proposed changes
The default value of `enable_fallback_to_original_planner` in master is
`false`, but the default value in 2.1 is `true`.
So it needs to be unified to `false` for testing.
---
.../iceberg/write/test_iceberg_create_table.groovy | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_create_table.groovy
b/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_create_table.groovy
index d76c6a4b052..d144af1f71b 100644
---
a/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_create_table.groovy
+++
b/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_create_table.groovy
@@ -22,6 +22,11 @@ suite("test_iceberg_create_table",
"p0,external,doris,external_docker,external_d
return
}
+ String[][] ret = sql """ show variables like
'enable_fallback_to_original_planner' """
+ String origin_fallback = ret[0][1]
+
+ sql """ set enable_fallback_to_original_planner=false; """
+
String rest_port = context.config.otherConfigs.get("iceberg_rest_uri_port")
String minio_port = context.config.otherConfigs.get("iceberg_minio_port")
String externalEnvIp = context.config.otherConfigs.get("externalEnvIp")
@@ -73,4 +78,5 @@ suite("test_iceberg_create_table",
"p0,external,doris,external_docker,external_d
sql """ drop table ${db1}.${tb2} """
sql """ drop database ${db1} """
+ sql """ set enable_fallback_to_original_planner=${origin_fallback}; """
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]