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

Bug: Vector index transaction issue #5184

Open
mewim opened this issue Apr 2, 2025 · 0 comments
Open

Bug: Vector index transaction issue #5184

mewim opened this issue Apr 2, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mewim
Copy link
Member

mewim commented Apr 2, 2025

Kuzu version

v0.9.0

What operating system are you using?

macOS

Are there known steps to reproduce?

  1. In kuzu shell, load data and create vector index
INSTALL vector;
LOAD vector;
CREATE NODE TABLE tbl (id int64 PRIMARY KEY, vec FLOAT[784]);
COPY tbl from "dataset/mnist/data.parquet";
CALL CREATE_VECTOR_INDEX(
                'tbl',
                'vec_index',
                'vec', metric := "l2");
  1. After all the above cypher statements are done, in idle state, kill shell:
killall kuzu
  1. It is expected to have the index in the database files but actuallly it is empty:
CALL SHOW_INDEXES() RETURN *;
┌────────────┬────────────┬────────────┬────────────────┬──────────────────┬──────────────────┐
│ table name │ index name │ index type │ property names │ extension loaded │ index definition │
│ STRING     │ STRING     │ STRING     │ STRING[]       │ BOOL             │ STRING           │
├────────────┼────────────┼────────────┼────────────────┼──────────────────┼──────────────────┤
└────────────┴────────────┴────────────┴────────────────┴──────────────────┴──────────────────┘
(0 tuples)
(6 columns)
Time: 4.28ms (compiling), 0.71ms (executing)
@mewim mewim added the bug Something isn't working label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants