We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2292c commit 0dfd711Copy full SHA for 0dfd711
enginetest/queries/function_queries.go
@@ -1240,6 +1240,10 @@ var FunctionQueryTests = []QueryTest{
1240
Query: `SELECT JSON_UNQUOTE('"\\t\\u0032"')`,
1241
Expected: []sql.Row{{"\t2"}},
1242
},
1243
+ {
1244
+ Query: `SELECT JSON_UNQUOTE('"\t\\u0032"')`,
1245
+ Expected: []sql.Row{{"\t2"}},
1246
+ },
1247
{
1248
Query: `SELECT JSON_UNQUOTE(JSON_EXTRACT('{"xid":"hello"}', '$.xid')) = "hello"`,
1249
Expected: []sql.Row{{true}},
@@ -1404,6 +1408,10 @@ var FunctionQueryTests = []QueryTest{
1404
1408
Query: "SELECT '2018-05-02' + INTERVAL 1 DAY",
1405
1409
Expected: []sql.Row{{time.Date(2018, time.May, 3, 0, 0, 0, 0, time.UTC)}},
1406
1410
1411
1412
+ Query: "SELECT '2018-05-02' - INTERVAL 1 DAY",
1413
+ Expected: []sql.Row{{time.Date(2018, time.May, 1, 0, 0, 0, 0, time.UTC)}},
1414
1407
1415
1416
Query: "SELECT CONVERT('9999-12-31 23:59:59', DATETIME)",
1417
Expected: []sql.Row{{time.Date(9999, time.December, 31, 23, 59, 59, 0, time.UTC)}},
0 commit comments