Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix export/import tests #3366

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions test/test_files/copy/export_import_db.test
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
{key1=400, key2=250}
-STATEMENT Export Database "${KUZU_EXPORT_DB_DIRECTORY}_case1/demo-db"
---- 1
Export database successfully.
Exported database successfully.
-IMPORT_DATABASE "${KUZU_EXPORT_DB_DIRECTORY}_case1/demo-db"
-STATEMENT IMPORT DATABASE "${KUZU_EXPORT_DB_DIRECTORY}_case1/demo-db"
---- 1
Import database successfully.
Imported database successfully.
-STATEMENT MATCH (u:User) WHERE u.name = 'Adam' SET u.age = 50
---- ok
-LOG ReturnAge
Expand All @@ -32,11 +32,11 @@ Import database successfully.
-CASE ExportImportDatabaseWithCSVOption
-STATEMENT Export Database "${KUZU_EXPORT_DB_DIRECTORY}_case2/demo-db2" (format="csv", header=true)
---- 1
Export database successfully.
Exported database successfully.
-IMPORT_DATABASE "${KUZU_EXPORT_DB_DIRECTORY}_case2/demo-db2"
-STATEMENT IMPORT DATABASE "${KUZU_EXPORT_DB_DIRECTORY}_case2/demo-db2"
---- 1
Import database successfully.
Imported database successfully.
-STATEMENT MATCH (u:User) WHERE u.name = 'Adam' SET u.age = 50
---- ok
-LOG ReturnAge
Expand Down Expand Up @@ -109,11 +109,11 @@ Binder exception: File ${KUZU_EXPORT_DB_DIRECTORY}_case3/demo-db4/schema.cypher
0
-STATEMENT Export Database "${KUZU_EXPORT_DB_DIRECTORY}_case5/demo-db"
---- 1
Export database successfully.
Exported database successfully.
-IMPORT_DATABASE "${KUZU_EXPORT_DB_DIRECTORY}_case5/demo-db"
-STATEMENT IMPORT DATABASE "${KUZU_EXPORT_DB_DIRECTORY}_case5/demo-db"
---- 1
Import database successfully.
Imported database successfully.
-STATEMENT MATCH (u:User) WHERE u.name = 'Adam' SET u.age = 50
---- ok
-LOG ReturnAge
Expand All @@ -131,4 +131,4 @@ Import database successfully.
---- ok
-STATEMENT Export Database "${KUZU_EXPORT_DB_DIRECTORY}_case6/demo-db"
---- 1
Export database successfully. But we skip exporting RDF graphs.
Exported database successfully. But we skip exporting RDF graphs.
Loading