Skip to content

Commit

Permalink
[fix](regress-test) fix presto dialect regression-test case (#39326)
Browse files Browse the repository at this point in the history
## Proposed changes
disable the unavailable sql of presto dialect
  • Loading branch information
suxiaogang223 authored Aug 15, 2024
1 parent a67429d commit 520c853
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -546,46 +546,46 @@ false
\N

-- !TestJsonFunctions_183 --
\N
3.14

-- !TestJsonFunctions_184 --
3.14
3.54

-- !TestJsonFunctions_185 --
3.54
5.02

-- !TestJsonFunctions_186 --
5.02
3.14

-- !TestJsonFunctions_187 --
3.14
3.54

-- !TestJsonFunctions_188 --
3.54
5.02

-- !TestJsonFunctions_189 --
5.02
\N

-- !TestJsonFunctions_190 --
\N
true

-- !TestJsonFunctions_191 --
true
false

-- !TestJsonFunctions_192 --
false

-- !TestJsonFunctions_193 --
false
true

-- !TestJsonFunctions_194 --
true
false

-- !TestJsonFunctions_195 --
false

-- !TestJsonFunctions_196 --
false
\N

-- !TestJsonFunctions_197 --
\N
Expand Down Expand Up @@ -618,13 +618,13 @@ false
\N

-- !TestJsonFunctions_207 --
\N
{}

-- !TestJsonFunctions_208 --
{}

-- !TestJsonFunctions_209 --
{}
\N

-- !TestJsonFunctions_210 --
\N
Expand All @@ -636,13 +636,13 @@ false
\N

-- !TestJsonFunctions_213 --
\N
3

-- !TestJsonFunctions_214 --
3

-- !TestJsonFunctions_215 --
3
\N

-- !TestJsonFunctions_216 --
\N
Expand All @@ -651,11 +651,8 @@ false
\N

-- !TestJsonFunctions_218 --
\N

-- !TestJsonFunctions_219 --
3

-- !TestJsonFunctions_220 --
-- !TestJsonFunctions_219 --
\N

Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ SELECT json_array_get('[]', null);
SELECT json_array_get('[1]', null);
SELECT json_array_get('', null);
SELECT json_array_get('', 1);
SELECT json_array_get('', -1);
-- SELECT json_array_get('', -1); # error: errCode = 2, detailMessage = (127.0.0.1)[INVALID_ARGUMENT]Json path error: Invalid Json Path for value: -1
-- SELECT json_array_get('[1]', -9223372036854775807 - 1); # error: errCode = 2, detailMessage = (127.0.0.1)[INVALID_ARGUMENT]Json path error: Invalid Json Path for value: -9223372036854775808
SELECT json_array_get('[\, ]', 0);
SELECT json_array_get('[\, , null]', 1);
Expand Down

0 comments on commit 520c853

Please sign in to comment.