Skip to content

Commit 2130264

Browse files
committed
Update sql tests
1 parent 7e02889 commit 2130264

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

tests_and_examples/examples/sql.json

-54
Original file line numberDiff line numberDiff line change
@@ -1337,60 +1337,6 @@
13371337
},
13381338
"name": "Test #74"
13391339
},
1340-
{
1341-
"query": "SELECT COUNT(DISTINCT name) FROM users",
1342-
"expected": {
1343-
"result": [
1344-
{
1345-
"COUNT": 3
1346-
}
1347-
],
1348-
"took": "ignore",
1349-
"count": "ignore",
1350-
"status": "ignore"
1351-
},
1352-
"name": "Test #75"
1353-
},
1354-
{
1355-
"query": "SELECT [clicks.value], COUNT(DISTINCT name) FROM users GROUP BY [clicks.value] HAVING [clicks.date] BETWEEN '2017-05-22' AND '2017-06-08' LIMIT 2",
1356-
"expected": {
1357-
"result": [
1358-
{
1359-
"clicks.value": "buy",
1360-
"COUNT": 2
1361-
},
1362-
{
1363-
"clicks.value": "pay now",
1364-
"COUNT": 1
1365-
}
1366-
],
1367-
"took": "ignore",
1368-
"count": "ignore",
1369-
"status": "ignore"
1370-
},
1371-
"name": "Test #76"
1372-
},
1373-
{
1374-
"query": "SELECT [clicks.value], COUNT(DISTINCT name), COUNT(age) FROM users GROUP BY [clicks.value] HAVING [clicks.date] BETWEEN '2017-05-22' AND '2017-06-08' LIMIT 2",
1375-
"expected": {
1376-
"result": [
1377-
{
1378-
"COUNT_DISTINCT_name": 2,
1379-
"COUNT_age": 2,
1380-
"clicks.value": "buy"
1381-
},
1382-
{
1383-
"COUNT_DISTINCT_name": 1,
1384-
"COUNT_age": 1,
1385-
"clicks.value": "pay now"
1386-
}
1387-
],
1388-
"took": "ignore",
1389-
"count": "ignore",
1390-
"status": "ignore"
1391-
},
1392-
"name": "Test #77"
1393-
},
13941340
{
13951341
"query": "SELECT name, age, MAX(age), AVG([purchased-products.value]) FROM users WHERE [purchased-products.date] BETWEEN '2017-05-22' AND '2017-06-08' LIMIT 100",
13961342
"expected": {

0 commit comments

Comments
 (0)