-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted order_by and copy tests to the new format (#1526)
Added test.group for copy and order_by and removed the cpp code.
- Loading branch information
Showing
9 changed files
with
63 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
test/test_files/copy/copy_node.test → test/test_files/copy/csv/copy_node.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
-NAME SubsetTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.id >= 20 AND row.id <= 24 RETURN *; | ||
---- 5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-GROUP CopyNodeFromCSVTest | ||
-TEST CopyNodeTest | ||
-DATASET copy-test/node/csv | ||
-READ_ONLY TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
-NAME SubsetTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.id >= 20 AND row.id <= 24 RETURN *; | ||
---- 5 | ||
(label:tableOfTypes, 0:20, {id:20, int64Column:0, doubleColumn:57.579280, booleanColumn:True, dateColumn:1731-09-26, timestampColumn:1731-09-26 03:30:08, stringColumn:OdM}) | ||
(label:tableOfTypes, 0:21, {id:21, int64Column:7, doubleColumn:64.630960, booleanColumn:False, dateColumn:1307-01-26, timestampColumn:1307-01-26 03:31:08, stringColumn:AjbxHQThEtDDlOjbzMjCQSXlvGQEjcFLykESrnFHwPKX}) | ||
(label:tableOfTypes, 0:22, {id:22, int64Column:71, doubleColumn:37.963386, booleanColumn:True, dateColumn:1455-07-26, timestampColumn:1455-07-26 03:07:03, stringColumn:dRvHHdyNXYfSUcicaxBoQEKQUfgex}) | ||
(label:tableOfTypes, 0:23, {id:23, int64Column:58, doubleColumn:42.774957, booleanColumn:False, dateColumn:1181-10-16, timestampColumn:1181-10-16 18:19:43, stringColumn:ISImRVpUjynGMFRQyYmeIUVjM}) | ||
(label:tableOfTypes, 0:24, {id:24, int64Column:75, doubleColumn:53.813224, booleanColumn:False, dateColumn:1942-10-24, timestampColumn:1942-10-24 09:30:16, stringColumn:naDlQ}) | ||
|
||
-NAME CheckNumLinesTest | ||
-QUERY MATCH (row:tableOfTypes) RETURN count(*) | ||
---- 1 | ||
49999 | ||
|
||
-NAME CountTrueTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.booleanColumn = True RETURN count(*) | ||
---- 1 | ||
24997 | ||
|
||
-NAME CountFalseTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.booleanColumn = False RETURN count(*) | ||
---- 1 | ||
25002 | ||
|
||
-NAME CheckSumTest | ||
-QUERY MATCH (row:tableOfTypes) RETURN sum(row.id), sum(row.int64Column), sum(row.doubleColumn) | ||
---- 1 | ||
1249925001|2500180|2504542.349696 | ||
|
||
-NAME EmptyStringTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.id = 49992 RETURN *; | ||
---- 1 | ||
(label:tableOfTypes, 0:49992, {id:49992, int64Column:50, doubleColumn:31.582059, booleanColumn:False, dateColumn:1551-07-19, timestampColumn:1551-07-19 16:28:31, stringColumn:}) | ||
|
||
-NAME FloatTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.doubleColumn = 68.73718401556897 RETURN row.dateColumn; | ||
---- 1 | ||
1042-06-05 | ||
|
||
-NAME DateTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE row.id = 25531 RETURN *; | ||
---- 1 | ||
(label:tableOfTypes, 0:25531, {id:25531, int64Column:77, doubleColumn:28.417543, booleanColumn:False, dateColumn:1895-03-13, timestampColumn:1895-03-13 04:31:22, stringColumn:XB}) | ||
|
||
-NAME IntervalTest | ||
-QUERY MATCH (row:tableOfTypes) WHERE 0 <= row.doubleColumn AND row.doubleColumn <= 10 AND 0 <= row.int64Column AND row.int64Column <= 10 RETURN count(*); | ||
---- 1 | ||
546 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-GROUP CopyNodeFromParquetTest | ||
-TEST CopyNodeTest | ||
-DATASET copy-test/node/parquet | ||
-READ_ONLY TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-GROUP OrderByTests | ||
-TEST OrderByLargeDatasetTest | ||
-DATASET order-by-tests | ||
-CHECK_ORDER TRUE | ||
-READ_ONLY TRUE |