Skip to content

Add support for Python 3.11 and Ubuntu for SQLite #4263

Closed

Description

@franciscojavierarceo

Is your feature request related to a problem? Please describe.
Can't run sqlite_vec on 3.11 or non-Darwin OS.

Describe the solution you'd like
Able to run sqlite vector search on Linux and not limited to 3.11

Describe alternatives you've considered
N/A

Additional context
#4209

Activity

  1. asg017 commented on Jun 10, 2024

    @asg017

    @franciscojavierarceo I think this is because there's a SQLite bug on version < 3.41 on LIMIT ? clauses on virtual tables. In a lot of sqlite-vec docs the example KNN query is:

    select 
      rowid, 
      distance
    from vec_example
    where column match ?
    order by distance
    limit 100

    But this query won't work on SQLite version < 3.41, which is causing this bug.

    The workaround is to provide the limit as a WHERE clause like so:

    select 
      rowid, 
      distance
    from vec_example
    where column match ?
      and k = 100
    order by distance

    I'll be sure to document this more - tbh I might not even show the LIMIT 100 variant anymore, since many people are stuck on old SQLite versions in practice

  2. franciscojavierarceo commented on Jun 10, 2024

    @franciscojavierarceo
    MemberAuthor

    Thanks!

    FYI, I just added support for sqlite_vec in Feast here: #4176

    Thank you for this package!

  3. stale commented on Apr 26, 2025

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    wontfix
    on Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featurewontfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions