Open vikramsubramanian opened 4 months ago
Summary: Strange behavior with table creation and dropping causing error messages and hanging in Kuzu.
Based on the error message provided, the issue seems to be related to a file system limitation where the file size exceeds the maximum allowed by the system. The error message indicates an attempt to write to a file at a very large offset (offsetToWrite: 17592186040320
), which suggests that the file has grown too large.
To resolve the issue:
_FILE_OFFSET_BITS=64
or using the -D_FILE_OFFSET_BITS=64
compiler flag.src/catalog/catalog_content.cpp
The issue may be related to how the catalog handles the creation and dropping of tables, which could be causing the strange error and hang.
src/binder/bind/bind_query.cpp
The issue might be related to how queries are bound and processed, especially since the error occurs on a query execution.
The COPY command is used in the test code, and if the issue is related to copying data into tables, this file might contain relevant code.
src/binder/query/query_graph_label_analyzer.cpp
The error message could be related to how the query graph labels are analyzed, which is part of the query processing.
This file contains code that creates a node table and executes queries, which is similar to the issue described.
This file contains code that creates a node table and executes queries, which is similar to the issue described.
test/copy/e2e_copy_transaction_test.cpp
This test file includes commands for creating and copying tables, which might be related to the issue if the problem is with the COPY command.
This file includes Java API usage for creating and querying tables, which might be relevant if the issue is with the Java API.
tools/java_api/src/test/java/com/kuzudb/test/QueryResultTest.java
This file contains tests for query results, which might be relevant if the issue is with error handling in query results.
The following queries cause some weird behaviour with kuzu
From the last query, I get a strange error message:
Error: Cannot write to file. path: tmpdatabase/data.kz fileDescriptor: 7 offsetToWrite: 17592186040320 numBytesToWrite: 4096 numBytesWritten: 18446744073709551615. Error: File too large
When dropping the table:Kuzu hangs. I've tried this both on my local computer and on the servers. )