Open fanyang01 opened 1 week ago
Hi @NewtonVan,
Nice to see you here! 😄
Enabling syntax parsing for vector types
This should be contributed to the upstream project dolthub/vitess. I'm surprised that in pull request #365, only VECTOR INDEX was supported, but not VECTOR(n).
Supporting the return of vec type results.
Yes, it's a good idea to add support for vector return types. Fortunately, go-duckdb nicely supports nested/structured types.
Loading the VSS plugin during initialization.
Sure. Although the VSS plugin currently comes with several limitations, such as being serialized as a whole for every checkpoint, it's nice to load it and let potential users explore it.
Hi @NewtonVan,
Nice to see you here! 😄
Enabling syntax parsing for vector types
This should be contributed to the upstream project dolthub/vitess. I'm surprised that in pull request #365, only VECTOR INDEX was supported, but not VECTOR(n).
Supporting the return of vec type results.
Yes, it's a good idea to add support for vector return types. Fortunately, go-duckdb nicely supports nested/structured types.
Loading the VSS plugin during initialization.
Sure. Although the VSS plugin currently comes with several limitations, such as being serialized as a whole for every checkpoint, it's nice to load it and let potential users explore it.
Thank you very much for your guidance; it helped me pinpoint the issue more quickly.
Regarding the parsing logic, I’ll look further into how Vitess handles this as I continue exploring possible solutions. I also noted some of the issues highlighted in DuckDB’s blog post on the VSS plugin. Fortunately, adding the plugin only involves minimal changes to the project’s logic, so we can offer basic support for it as a lightweight, experimental feature. I’ll also be exploring this interesting little feature further.
Thanks again for your valuable insights!
Hi @fanyang01
I’ve implemented a simple version of a Go-duckdb test with the VSS (Vector Similarity Search) plugin, and I’ve been able to confirm that vectorization through the DuckDB VSS plugin is feasible. However, I’ve run into two main issues:
Lack of Support for Vector Type Syntax Parsing: It seems
myduck
doesn’t yet support syntax parsing related to vector types.Scan Operation Error with Vector-Type Query Results: When querying for vector-type results, the scan operation throws the following error:
My Proposed Approach
To address these, my current approach includes:
vec
type results.I’d really appreciate any suggestions or feedback you might have on this approach, or if you see any potential improvements. Thanks so much in advance for your help!
By the way, I really appreciate the amazing quack you have made!