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

Field name definitions do not seem to support double quote syntax #170

Open
vvlookman opened this issue Jan 14, 2025 · 1 comment
Open

Comments

@vvlookman
Copy link

CREATE VIRTUAL TABLE "test" USING vec0("embedding" FLOAT[8]) throws error: vec0 constructor error: Could not parse '"embedding" FLOAT[8]'

@asg017
Copy link
Owner

asg017 commented Jan 14, 2025

Thanks for reporting! Yes this is a current bug in the vec0 parser, we only support a-z + A-Z + 0-9 + _ characters, and don't properly escape double quotes.

Will add more verbose parsing in the future, hopefully so any valid SQLite identifier can be used in column names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants