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

*: support vector search #9486

Merged
merged 30 commits into from
Sep 30, 2024
Merged

*: support vector search #9486

merged 30 commits into from
Sep 30, 2024

Commits on Jul 31, 2024

  1. compute: Add Vector data type and functions (#9262)

    ref #9032
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: JaySon-Huang <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    0856586 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    57c542e View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. storage: Support vector index and ANN hint (#9261)

    ref #9032
    
    Co-authored-by: JaySon-Huang <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    32d911b View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    d99c7dd View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. storage: Use mmap to view vector index (#9313)

    ref #9032
    
    storage: Use mmap to view vector index
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: JaySon-Huang <[email protected]>
    Lloyd-Pottiger and JaySon-Huang committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    d6abc70 View commit details
    Browse the repository at this point in the history
  2. storage: Add vector search metrics (#9349)

    ref #9032
    
    storage: Add vector search metrics
    
    Signed-off-by: Wish <[email protected]>
    
    Co-authored-by: Wenxuan <[email protected]>
    Lloyd-Pottiger and breezewish committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    3f15689 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. *: use SimSIMD for vectors (#9372)

    ref #9032
    
    *: use SimSIMD for vectors
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    Lloyd-Pottiger committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5f08ae6 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. storage: Add system.dt_local_indexes (#9379)

    ref #9032
    
    storage: Add system.dt_local_indexes
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    Lloyd-Pottiger committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3e3f23c View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    a844c27 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. DMFile: Support modify DMFile meta (#9365)

    ref #9032
    
    DMFile: Support modify DMFile meta
    
    ---------
    
    Signed-off-by: Wish <[email protected]>
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    Co-authored-by: Wenxuan <[email protected]>
    Co-authored-by: JaySon <[email protected]>
    3 people committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    8d95a13 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. storage: Force evict when downloading vector index files (#9391)

    ref #9032
    
    storage: Force evict when downloading vector index files
    
    Signed-off-by: Wish <[email protected]>
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: Wenxuan <[email protected]>
    Lloyd-Pottiger and breezewish committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    919b053 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. storage: add local indexer scheduler (#9383)

    ref #9032
    
    storage: add local indexer scheduler
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    Lloyd-Pottiger and ti-chi-bot[bot] committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    4fac01c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. storage: Support adding vector index in background (#9411)

    ref #9032
    
    storage: Support adding vector index in background
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    Lloyd-Pottiger committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    19cecc1 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. storage: Abort vector index building as soon as possible (#9443)

    close #9032
    
    storage: Abort vector index building as soon as possible
    
    Signed-off-by: Wish <[email protected]>
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: Wenxuan <[email protected]>
    Co-authored-by: Lloyd-Pottiger <[email protected]>
    Lloyd-Pottiger and breezewish committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4df924b View commit details
    Browse the repository at this point in the history
  2. ddl: Support parsing VectorIndex defined in IndexInfo (#9448)

    ref #9032
    
    ddl: Support parsing VectorIndex defined in IndexInfo
    
    Co-authored-by: JaySon <[email protected]>
    Lloyd-Pottiger and JaySon-Huang committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    db17e31 View commit details
    Browse the repository at this point in the history
  3. storage: support the HTTP API of sync table schema (#9449)

    ref #9032
    
    storage: support the HTTP API of sync table schema
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: Lynn <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    355ab8c View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. storage: long term cache for integer-like PK column in memory (#9445)

    ref #9032
    
    storage: cache PK column in memory
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    Lloyd-Pottiger and ti-chi-bot[bot] committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    5a41ce2 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. *: support vector index and adding/dropping vector index when doing s…

    …yncTableSchema (#9451)
    
    ref #9032
    
    *: support vector index and adding/dropping vector index when doing syncTableSchema
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: JaySon <[email protected]>
    Lloyd-Pottiger and JaySon-Huang committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    1a781c7 View commit details
    Browse the repository at this point in the history
  2. ddl: Adapt with the latest vector index definition (#9471)

    ref #9032
    
    ddl: Adapt with the latest vector index def
    JaySon-Huang committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    9a7b707 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Storage: Support multiple vec indexes on the same column (#9469)

    ref #9032
    
    Storage: Support multiple vec indexes on the same column
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    
    Co-authored-by: JaySon <[email protected]>
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    3 people committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    290972e View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Storage: Support drop vector index defined on ColumnInfo when column …

    …is dropped (#9475)
    
    ### What problem does this PR solve?
    
    Issue Number: ref #9032
    
    Problem Summary:
    
    ### What is changed and how it works?
    
    Pick tidbcloud/tiflash-cse#283 and
    tidbcloud/tiflash-cse#300
    
    * Unify the logic of `generateLocalIndexInfos` and `initLocalIndexInfos`
    * Print 1 logging for the vector index added/dropped/existing in one
    table instead. This can avoid the flood of logging when tiflash restart
    with lots of table with vector index defined
    * Support drop the vector index defined on ColumnInfo after the Column
    has been dropped in TiDB
    * Add more ut in the DeltaMergeStore read level
    * vector search fallback when top_k = max uint32
    
    ```commit-message
    
    ```
    
    ### Check List
    
    Tests <!-- At least one of them must be included. -->
    
    - [ ] Unit test
    - [ ] Integration test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No code
    
    Side effects
    
    - [ ] Performance regression: Consumes more CPU
    - [ ] Performance regression: Consumes more Memory
    - [ ] Breaking backward compatibility
    
    Documentation
    
    - [ ] Affects user behaviors
    - [ ] Contains syntax changes
    - [ ] Contains variable changes
    - [ ] Contains experimental features
    - [ ] Changes MySQL compatibility
    
    ### Release note
    
    <!-- bugfix or new feature needs a release note -->
    
    ```release-note
    None
    ```
    
    ---------
    
    Signed-off-by: Lloyd-Pottiger <[email protected]>
    Co-authored-by: JaySon <[email protected]>
    Co-authored-by: jinhelin <[email protected]>
    3 people committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    3eb0c29 View commit details
    Browse the repository at this point in the history
  2. vector: Fix ColumnArray does not work well with CHBlockChunkCodec (#9477

    )
    
    close #9485
    
    vector: Fix ColumnArray does not work well with CHBlockChunkCodec
    
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    JaySon-Huang and ti-chi-bot[bot] committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    bfb8ca9 View commit details
    Browse the repository at this point in the history
  3. Storage: Add error message when fail to build local index (#9476)

    Storage: Add error message when fail to build local index
    Lloyd-Pottiger committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    bf3d4d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    cd204f5 View commit details
    Browse the repository at this point in the history
  2. vector: Fix join by array meet error "no supertype for types Array(Fl…

    …oat32), Nullable(Array(Float32))" (#9490)
    
    ref #9032
    
    Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
    JaySon-Huang and ti-chi-bot[bot] committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    9f7fdbc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae57df9 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. storage: remove vector_index in column level (#9487)

    storage: remove vector_index in column level
    Lloyd-Pottiger committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    76e729e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae51acf View commit details
    Browse the repository at this point in the history
  3. Fix broken ut

    JaySon-Huang committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e1c2d2c View commit details
    Browse the repository at this point in the history
  4. temp skip clang-tidy

    JaySon-Huang committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f569343 View commit details
    Browse the repository at this point in the history