Skip to content

Commit

Permalink
Rebase and remove DeleteWithExceptionTest test
Browse files Browse the repository at this point in the history
  • Loading branch information
rfdavid committed May 27, 2023
1 parent e6e4e82 commit 7de88e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions test/test_files/demo_db/demo_db_delete.test
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,3 @@
-QUERY MATCH (u:User)-[f:Follows]->(u1:User) WHERE u.name='Adam' RETURN u1.name
---- 1
Zhang

-CASE DeleteWithExceptionTest
-STATEMENT MATCH (u:User) WHERE u.name = 'Adam' DELETE u
---- error
Runtime exception: Currently deleting a node with edges is not supported. node table 0 nodeOffset 0 has 1 (one-to-many or many-to-many) edges for edge file: ${KUZU_ROOT_DIRECTORY}/test/unittest_temp/r-3-0.lists.
2 changes: 1 addition & 1 deletion test/test_files/demo_db/demo_db_set_copy.test
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@

-CASE CopyRelToNonEmptyTableErrorTest

-QUERY COPY Follows FROM "${KUZU_ROOT_DIRECTORY}/dataset/demo-db/csv/follows.csv"
-STATEMENT COPY Follows FROM "${KUZU_ROOT_DIRECTORY}/dataset/demo-db/csv/follows.csv"
---- error
Copy exception: COPY commands can only be executed once on a table.

0 comments on commit 7de88e1

Please sign in to comment.