Skip to content

Commit

Permalink
[opt](nereids) add some regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Nov 20, 2023
1 parent 7fbf02c commit 8bd8fce
Show file tree
Hide file tree
Showing 2 changed files with 526 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !select_base --
1 doris-1 19
10 \N \N
2 doris-2 20
3 doris-3 21
4 doris-4 22
5 doris-5 23
6 doris-6 24
7 doris-7 25
8 doris-8 26
9 doris-9 27

-- !select_base1 --
false
false
false
false
false
false
false
false
false
false

-- !select_tvf --
false
false
false
false
false
false
false
false
false
false

-- !desc_s3 --
__greater_than_0 BOOLEAN Yes false \N NONE

-- !select_base1 --
10

-- !select_tvf --
false

-- !desc_s3 --
__max_0 BOOLEAN Yes false \N NONE

-- !select_base1 --
1 id = 1
10 id not exist
2 id = 2
3 id not exist
4 id not exist
5 id not exist
6 id not exist
7 id not exist
8 id not exist
9 id not exist

-- !select_tvf --
false false
false true
false true
false true
false true
false true
false true
true true
true true
true true

-- !desc_s3 --
__case_when_1 BOOLEAN Yes false \N NONE
id BOOLEAN Yes false \N NONE

-- !select_base1 --
1 1 string 19 false 5 true 1
10 1 string \N false 5 true 1
2 1 string 20 false 5 true 1
3 1 string 21 false 5 true 1
4 1 string 22 false 5 true 1
5 1 string 23 false 5 true 1
6 1 string 24 false 5 true 1
7 1 string 25 false 5 true 1
8 1 string 26 false 5 true 1
9 1 string 27 false 5 true 1

-- !select_tvf --
false true false false false true true true
false true true false false true true true
false true true false false true true true
false true true true false true true true
false true true true false true true true
false true true true false true true true
false true true true false true true true
true true true false false true true true
true true true true false true true true
true true true true false true true true

-- !desc_s3 --
__add_5 BOOLEAN Yes false \N NONE
__bit_or_7 BOOLEAN Yes false \N NONE
__cast_3 BOOLEAN Yes false \N NONE
__greater_than_4 BOOLEAN Yes false \N NONE
__in_predicate_6 BOOLEAN Yes false \N NONE
__literal_1 BOOLEAN Yes false \N NONE
__literal_2 BOOLEAN Yes false \N NONE
id BOOLEAN Yes false \N NONE

-- !select_base1 --
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999

-- !select_tvf --
false false false
false true false
true true true
true true true
true true true
true true true
true true true
true true true
true true true
true true true

-- !desc_s3 --
__cast_0 BOOLEAN Yes false \N NONE
__cast_1 BOOLEAN Yes false \N NONE
__cast_2 BOOLEAN Yes false \N NONE

-- !select_base1 --
false
false
false
false
false
false
false
false
false
false

-- !select_tvf --
false
false
false
false
false
false
false
false
false
false

-- !desc_s3 --
__greater_than_0 BOOLEAN Yes false \N NONE

-- !select_base1 --
10

-- !select_tvf --
10

-- !desc_s3 --
__max_0 INT Yes false \N NONE

-- !select_base1 --
1 id = 1
10 id not exist
2 id = 2
3 id not exist
4 id not exist
5 id not exist
6 id not exist
7 id not exist
8 id not exist
9 id not exist

-- !select_tvf --
1 id = 1
10 id not exist
2 id = 2
3 id not exist
4 id not exist
5 id not exist
6 id not exist
7 id not exist
8 id not exist
9 id not exist

-- !desc_s3 --
__case_when_1 TEXT Yes false \N NONE
id INT Yes false \N NONE

-- !select_base1 --
1 1 string 19 false 5 true 1
10 1 string \N false 5 true 1
2 1 string 20 false 5 true 1
3 1 string 21 false 5 true 1
4 1 string 22 false 5 true 1
5 1 string 23 false 5 true 1
6 1 string 24 false 5 true 1
7 1 string 25 false 5 true 1
8 1 string 26 false 5 true 1
9 1 string 27 false 5 true 1

-- !select_tvf --
1 1 string 19 false 5 true 1
10 1 string \N false 5 true 1
2 1 string 20 false 5 true 1
3 1 string 21 false 5 true 1
4 1 string 22 false 5 true 1
5 1 string 23 false 5 true 1
6 1 string 24 false 5 true 1
7 1 string 25 false 5 true 1
8 1 string 26 false 5 true 1
9 1 string 27 false 5 true 1

-- !desc_s3 --
__add_5 SMALLINT Yes false \N NONE
__bit_or_7 TINYINT Yes false \N NONE
__cast_3 BIGINT Yes false \N NONE
__greater_than_4 BOOLEAN Yes false \N NONE
__in_predicate_6 BOOLEAN Yes false \N NONE
__literal_1 TINYINT Yes false \N NONE
__literal_2 TEXT Yes false \N NONE
id INT Yes false \N NONE

-- !select_base1 --
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999

-- !select_tvf --
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999
2566 888 9999

-- !desc_s3 --
__cast_0 TEXT Yes false \N NONE
__cast_1 BIGINT Yes false \N NONE
__cast_2 TEXT Yes false \N NONE

Loading

0 comments on commit 8bd8fce

Please sign in to comment.