You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a test case which contains \ characteres in the expected error section:
-LOG LoadFromIncorrectFileFormat
-STATEMENT LOAD FROM "${KUZU_ROOT_DIRECTORY}/dataset/copy-test/node/parquet/types_50k_0.parquet" (format='csv') RETURN *;
---- error
Copy exception: Error in file ${KUZU_ROOT_DIRECTORY}/dataset/copy-test/node/parquet/types_50k_0.parquet on line 1: Conversion exception: Invalid UTF8-encoded string. Line/record containing the error: 'PAR1\x15\x4\x15\xA0\xA3\x10\x15\xBE\x92\bL\x15\xB4\x84\x2\x15
The actual error is:
Copy exception: Error in file /Users/z473chen/Desktop/code/kuzu/dataset/copy-test/node/parquet/types_50k_0.parquet on line 1: Conversion exception: Invalid UTF8-encoded string. Line/record containing the error: 'PAR1\x15\x4\x15\xA0\xA3\x10\x15\xBE\x92\bL\x15\xB4\x84\x2\x15
which matches my expected error.
However the testing framework still complains about the incorrect result:
Expected equality of these values:
actualError
Which is: "Copy exception: Error in file /Users/z473chen/Desktop/code/kuzu/dataset/copy-test/node/parquet/types_50k_0.parquet on line 1: Conversion exception: Invalid UTF8-encoded string. Line/record containing the error: 'PAR1\x15\x4\x15\xA0\xA3\x10\x15\xBE\x92\bL\x15\xB4\x84\x2\x15"
expectedError
Which is: "Copy exception: Error in file /Users/z473chen/Desktop/code/kuzu/dataset/copy-test/node/parquet/types_50k_0.parquet on line 1: Conversion exception: Invalid UTF8-encoded string. Line/record containing the error: 'PAR1\\x15\\x4\\x15\\xA0\\xA3\\x10\\x15\\xBE\\x92\\bL\\x15\\xB4\\x84\\x2\\x15"
Looks like the \ is incorrectly parsed in the testing framework.
Are there known steps to reproduce?
Try the following test case in test file:
-LOG LoadFromIncorrectFileFormat
-STATEMENT LOAD FROM "${KUZU_ROOT_DIRECTORY}/dataset/copy-test/node/parquet/types_50k_0.parquet" (format='csv') RETURN *;
---- error
Copy exception: Error in file ${KUZU_ROOT_DIRECTORY}/dataset/copy-test/node/parquet/types_50k_0.parquet on line 1: Conversion exception: Invalid UTF8-encoded string. Line/record containing the error: 'PAR1\x15\x4\x15\xA0\xA3\x10\x15\xBE\x92\bL\x15\xB4\x84\x2\x15
The text was updated successfully, but these errors were encountered:
Kùzu version
master
What operating system are you using?
MAC M1
What happened?
I have a test case which contains
\
characteres in the expected error section:The actual error is:
which matches my expected error.
However the testing framework still complains about the incorrect result:
Looks like the
\
is incorrectly parsed in the testing framework.Are there known steps to reproduce?
Try the following test case in test file:
The text was updated successfully, but these errors were encountered: