This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 110e9aeebdc [fix](regression-test)Add test for orc core #25983
110e9aeebdc is described below
commit 110e9aeebdc97b4f6963917adbc2696615ba9461
Author: Tiewei Fang <[email protected]>
AuthorDate: Fri Oct 27 09:15:36 2023 +0800
[fix](regression-test)Add test for orc core #25983
---
.../suites/export_p0/test_outfile_exception.groovy | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/regression-test/suites/export_p0/test_outfile_exception.groovy
b/regression-test/suites/export_p0/test_outfile_exception.groovy
index 86d5672ec78..7ad177bc519 100644
--- a/regression-test/suites/export_p0/test_outfile_exception.groovy
+++ b/regression-test/suites/export_p0/test_outfile_exception.groovy
@@ -156,4 +156,30 @@ suite("test_outfile_exception") {
// check exception
exception "NoSuchBucket:The specified bucket does not exist"
}
+
+ String ak = getS3AK()
+ String sk = getS3SK()
+ String s3_endpoint = getS3Endpoint()
+ String region = getS3Region()
+ String bucket = getS3BucketName();
+ def outFilePath = "${bucket}/outfile/expr/exception/exp_"
+
+ // test export expr exception
+ // orc format
+ test {
+ sql """
+ select 1 + 1 > 2 from outfile_exception_test
+ INTO OUTFILE "s3://${outFilePath}"
+ FORMAT AS ORC
+ PROPERTIES (
+ "s3.endpoint" = "${s3_endpoint}",
+ "s3.region" = "${region}",
+ "s3.secret_key"="${sk}",
+ "s3.access_key" = "${ak}"
+ );
+ """
+
+ // check exception
+ exception """Orc build schema from "struct<((1 + 1) > 2):boolean>"
failed: Missing field name"""
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]