File tree 4 files changed +14
-67
lines changed
datafusion/sqllogictest/test_files/string
4 files changed +14
-67
lines changed Original file line number Diff line number Diff line change @@ -72,23 +72,6 @@ false false
72
72
false true
73
73
NULL NULL
74
74
75
- # TODO: move it back to `string_query.slt.part` after fixing the issue
76
- # see detail: https://github.com/apache/datafusion/issues/12670
77
- query IIIIII
78
- SELECT
79
- STRPOS(ascii_1, 'e'),
80
- STRPOS(ascii_1, 'ang'),
81
- STRPOS(ascii_1, NULL),
82
- STRPOS(unicode_1, 'и'),
83
- STRPOS(unicode_1, 'ион'),
84
- STRPOS(unicode_1, NULL)
85
- FROM test_basic_operator;
86
- ----
87
- 5 0 NULL 0 0 NULL
88
- 7 3 NULL 0 0 NULL
89
- 6 0 NULL 18 18 NULL
90
- NULL NULL NULL NULL NULL NULL
91
-
92
75
#
93
76
# common test for string-like functions and operators
94
77
#
Original file line number Diff line number Diff line change @@ -63,23 +63,6 @@ Xiangpeng datafusion数据融合 false true false true
63
63
Raphael datafusionДатаФусион false false false false
64
64
NULL NULL NULL NULL NULL NULL
65
65
66
- # TODO: move it back to `string_query.slt.part` after fixing the issue
67
- # see detail: https://github.com/apache/datafusion/issues/12670
68
- query IIIIII
69
- SELECT
70
- STRPOS(ascii_1, 'e'),
71
- STRPOS(ascii_1, 'ang'),
72
- STRPOS(ascii_1, NULL),
73
- STRPOS(unicode_1, 'и'),
74
- STRPOS(unicode_1, 'ион'),
75
- STRPOS(unicode_1, NULL)
76
- FROM test_basic_operator;
77
- ----
78
- 5 0 NULL 0 0 NULL
79
- 7 3 NULL 0 0 NULL
80
- 6 0 NULL 18 18 NULL
81
- NULL NULL NULL NULL NULL NULL
82
-
83
66
#
84
67
# common test for string-like functions and operators
85
68
#
Original file line number Diff line number Diff line change @@ -951,22 +951,20 @@ NULL NULL
951
951
# Test STRPOS
952
952
# --------------------------------------
953
953
954
- # TODO: DictionaryString does not support STRPOS. Enable this after fixing the issue
955
- # see issue: https://github.com/apache/datafusion/issues/12670
956
- #query IIIIII
957
- #SELECT
958
- # STRPOS(ascii_1, 'e'),
959
- # STRPOS(ascii_1, 'ang'),
960
- # STRPOS(ascii_1, NULL),
961
- # STRPOS(unicode_1, 'и'),
962
- # STRPOS(unicode_1, 'ион'),
963
- # STRPOS(unicode_1, NULL)
964
- #FROM test_basic_operator;
965
- #----
966
- #5 0 NULL 0 0 NULL
967
- #7 3 NULL 0 0 NULL
968
- #6 0 NULL 18 18 NULL
969
- #NULL NULL NULL NULL NULL NULL
954
+ query IIIIII
955
+ SELECT
956
+ STRPOS(ascii_1, 'e'),
957
+ STRPOS(ascii_1, 'ang'),
958
+ STRPOS(ascii_1, NULL),
959
+ STRPOS(unicode_1, 'и'),
960
+ STRPOS(unicode_1, 'ион'),
961
+ STRPOS(unicode_1, NULL)
962
+ FROM test_basic_operator;
963
+ ----
964
+ 5 0 NULL 0 0 NULL
965
+ 7 3 NULL 0 0 NULL
966
+ 6 0 NULL 18 18 NULL
967
+ NULL NULL NULL NULL NULL NULL
970
968
971
969
# --------------------------------------
972
970
# Test SUBSTR_INDEX
Original file line number Diff line number Diff line change @@ -50,23 +50,6 @@ false false
50
50
false true
51
51
NULL NULL
52
52
53
- # TODO: move it back to `string_query.slt.part` after fixing the issue
54
- # see detail: https://github.com/apache/datafusion/issues/12670
55
- query IIIIII
56
- SELECT
57
- STRPOS(ascii_1, 'e'),
58
- STRPOS(ascii_1, 'ang'),
59
- STRPOS(ascii_1, NULL),
60
- STRPOS(unicode_1, 'и'),
61
- STRPOS(unicode_1, 'ион'),
62
- STRPOS(unicode_1, NULL)
63
- FROM test_basic_operator;
64
- ----
65
- 5 0 NULL 0 0 NULL
66
- 7 3 NULL 0 0 NULL
67
- 6 0 NULL 18 18 NULL
68
- NULL NULL NULL NULL NULL NULL
69
-
70
53
#
71
54
# common test for string-like functions and operators
72
55
#
You can’t perform that action at this time.
0 commit comments