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

yiguolei 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 bff85cb7fc6 [fix](test) update results of array_apply test (#61152)
bff85cb7fc6 is described below

commit bff85cb7fc6784001f00f97bf7c4ab9a43162b9f
Author: Jerry Hu <[email protected]>
AuthorDate: Tue Mar 10 11:55:54 2026 +0800

    [fix](test) update results of array_apply test (#61152)
    
    ### What problem does this PR solve?
    
    Doc:
    
https://doris.incubator.apache.org/zh-CN/docs/dev/sql-manual/sql-functions/scalar-functions/array-functions/array-apply
    
    The null item in array will be filtered.
    
    Related PR: #xxx
    
    Problem Summary:
    
    ### Release note
    
    ### Check List (For Author)
    
    - Test <!-- At least one of them must be included. -->
        - [ ] Regression test
        - [ ] Unit Test
        - [ ] Manual test (add detailed scripts or steps below)
        - [ ] No need to test or manual test. Explain why:
    - [ ] This is a refactor/code format and no logic has been changed.
            - [ ] Previous test can cover this change.
            - [ ] No code files have been changed.
            - [ ] Other reason <!-- Add your reason?  -->
    
    - Behavior changed:
        - [ ] No.
        - [ ] Yes. <!-- Explain the behavior change -->
    
    - Does this need documentation?
        - [ ] No.
    - [ ] Yes. <!-- Add document PR link here. eg:
    https://github.com/apache/doris-website/pull/1214 -->
    
    ### Check List (For Reviewer who merge this PR)
    
    - [ ] Confirm the release note
    - [ ] Confirm test cases
    - [ ] Confirm document
    - [ ] Add branch pick label <!-- Add branch pick label that this PR
    should merge into -->
---
 .../data/datatype_p0/timestamptz/array/test_tz_array_functions.out  | 6 +++---
 regression-test/data/doc/sql-manual/ArrayNullsafe.out               | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/regression-test/data/datatype_p0/timestamptz/array/test_tz_array_functions.out
 
b/regression-test/data/datatype_p0/timestamptz/array/test_tz_array_functions.out
index 7e528fb18a7..d393c546579 100644
--- 
a/regression-test/data/datatype_p0/timestamptz/array/test_tz_array_functions.out
+++ 
b/regression-test/data/datatype_p0/timestamptz/array/test_tz_array_functions.out
@@ -18,7 +18,7 @@
 0      ["2023-08-09 04:20:20.123456+08:00"]
 
 -- !apply_neq0 --
-0      [null, "0000-01-01 08:00:00.000001+08:00", "0000-01-01 
08:00:00.123456+08:00", "0000-01-01 08:00:00.999999+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000001+08:00", "2023-08-09 04:20:20.123456+08:00", "2023-08-09 
04:20:20.999999+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000001+08:00", "9999-12-31 
23:59:59.123456+08:00", "9999-12-31 23:59:59.999999+08:00"]
+0      ["0000-01-01 08:00:00.000001+08:00", "0000-01-01 
08:00:00.123456+08:00", "0000-01-01 08:00:00.999999+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000001+08:00", "2023-08-09 04:20:20.123456+08:00", "2023-08-09 
04:20:20.999999+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000001+08:00", "9999-12-31 
23:59:59.123456+08:00", "9999-12-31 23:59:59.999999+08:00"]
 
 -- !apply_gt0 --
 0      ["0000-01-01 08:00:00.000001+08:00", "0000-01-01 
08:00:00.123456+08:00", "0000-01-01 08:00:00.999999+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000001+08:00", "2023-08-09 04:20:20.123456+08:00", "2023-08-09 
04:20:20.999999+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000001+08:00", "9999-12-31 
23:59:59.123456+08:00", "9999-12-31 23:59:59.999999+08:00"]
@@ -27,10 +27,10 @@
 0      ["0000-01-01 08:00:00.123456+08:00", "0000-01-01 
08:00:00.999999+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000001+08:00", "2023-08-09 
04:20:20.123456+08:00", "2023-08-09 04:20:20.999999+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000001+08:00", "9999-12-31 23:59:59.123456+08:00", "9999-12-31 
23:59:59.999999+08:00"]
 
 -- !apply_lt0 --
-0      [null, "0000-01-01 08:00:00.000000+08:00", "0000-01-01 
08:00:00.000001+08:00", "0000-01-01 08:00:00.123456+08:00", "0000-01-01 
08:00:00.999999+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000001+08:00", "2023-08-09 
04:20:20.123456+08:00", "2023-08-09 04:20:20.999999+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000000+08:00"]
+0      ["0000-01-01 08:00:00.000000+08:00", "0000-01-01 
08:00:00.000001+08:00", "0000-01-01 08:00:00.123456+08:00", "0000-01-01 
08:00:00.999999+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000001+08:00", "2023-08-09 
04:20:20.123456+08:00", "2023-08-09 04:20:20.999999+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000000+08:00"]
 
 -- !apply_le0 --
-0      [null, "0000-01-01 08:00:00.000000+08:00", "0000-01-01 
08:00:00.000001+08:00", "0000-01-01 08:00:00.123456+08:00", "0000-01-01 
08:00:00.999999+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000001+08:00", "2023-08-09 
04:20:20.123456+08:00", "2023-08-09 04:20:20.999999+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000001+08:00"]
+0      ["0000-01-01 08:00:00.000000+08:00", "0000-01-01 
08:00:00.000001+08:00", "0000-01-01 08:00:00.123456+08:00", "0000-01-01 
08:00:00.999999+08:00", "2023-08-09 04:20:20.000000+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000001+08:00", "2023-08-09 
04:20:20.123456+08:00", "2023-08-09 04:20:20.999999+08:00", "9999-12-31 
23:59:59.000000+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000001+08:00"]
 
 -- !apply_except --
 0      [null, "0000-01-01 08:00:00.000001+08:00", "0000-01-01 
08:00:00.123456+08:00", "0000-01-01 08:00:00.999999+08:00", "2023-08-09 
04:20:20.000000+08:00", "2023-08-09 04:20:20.000001+08:00", "2023-08-09 
04:20:20.999999+08:00", "9999-12-31 23:59:59.000000+08:00", "9999-12-31 
23:59:59.000001+08:00", "9999-12-31 23:59:59.123456+08:00"]
diff --git a/regression-test/data/doc/sql-manual/ArrayNullsafe.out 
b/regression-test/data/doc/sql-manual/ArrayNullsafe.out
index 03ab0ab9f74..884d3850010 100644
--- a/regression-test/data/doc/sql-manual/ArrayNullsafe.out
+++ b/regression-test/data/doc/sql-manual/ArrayNullsafe.out
@@ -8,7 +8,7 @@
 
 -- !sql_array_apply2 --
 []
-[null, null]
+[]
 []
 []
 \N


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to