Mayil-AI-Sandbox / kuzudb_jan15

MIT License
0 stars 0 forks source link

Error when `COPY`ing `STRING[]` from Parquet file (hashtag2703) #51

Open vikramsubramanian opened 4 months ago

vikramsubramanian commented 4 months ago

When I run the following command, I get a segmentation fault:

COPY Release FROM 'output/nodes_releases.parquet';

This is an excerpt from the coredump:

Core was generated by `kuzu_shell ./graph/'.
Program terminated with signal SIGSEGV, Segmentation fault.
hashtag0  0x0000000000b35dce in kuzu::storage::VarListColumnChunk::append(kuzu::common::ValueVector*) ()
[Current thread is 1 (LWP 7231)]

[This]( seems to be the relevant code.

When I remove the STRING[] property from the schema, everything works. )

mayil-ai[bot] commented 4 months ago

Summary: Segmentation fault occurs when using COPY command with STRING[] property from Parquet file in Cypher.

Possible Solution

Based on the provided information, the segmentation fault issue occurs when using the COPY command with a Parquet file containing a STRING[] property. The issue is related to appending data to a VarListColumnChunk, and removing STRING[] from the schema resolves the issue, indicating a problem with array handling.

To address this issue:

Code snippets to check