microsoft / MSVBASE

MSVBASE is a system that efficiently supports complex queries of both approximate similarity search and relational operators. It integrates high-dimensional vector indices into PostgreSQL, a relational database to facilitate complex approximate similarity queries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

execute ./scripts/patch.sh error?

JackTan25 opened this issue · comments

[jack@localhost cpp_workspace]$ git clone https://github.com/microsoft/MSVBASE.git
Cloning into 'MSVBASE'...
e
./scripts/patch.shremote: Enumerating objects: 433, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 433 (delta 8), reused 4 (delta 4), pack-reused 418
Receiving objects: 100% (433/433), 40.23 MiB | 1.21 MiB/s, done.
Resolving deltas: 100% (240/240), done.
[jack@localhost cpp_workspace]$ cd MSVBASE
[jack@localhost MSVBASE]$ git submodule update --init --recursive
Submodule 'thirdparty/Postgres' (https://github.com/postgres/postgres.git) registered for path 'thirdparty/Postgres'
Submodule 'thirdparty/SPTAG' (https://github.com/microsoft/SPTAG.git) registered for path 'thirdparty/SPTAG'
Submodule 'thirdparty/hnsw' (https://github.com/nmslib/hnswlib.git) registered for path 'thirdparty/hnsw'
Cloning into '/home/jack/cpp_workspace/MSVBASE/thirdparty/Postgres'...
Cloning into '/home/jack/cpp_workspace/MSVBASE/thirdparty/SPTAG'...
Cloning into '/home/jack/cpp_workspace/MSVBASE/thirdparty/hnsw'...
Submodule path 'thirdparty/Postgres': checked out 'e849f3f1f884ad140b60a24354c6371cbd2efbb6'
Submodule path 'thirdparty/SPTAG': checked out 'de5b7f8c57c45c31ac1caeaf3b9f1d0e1668c395'
Submodule 'ThirdParty/zstd' (https://github.com/facebook/zstd) registered for path 'thirdparty/SPTAG/ThirdParty/zstd'
Cloning into '/home/jack/cpp_workspace/MSVBASE/thirdparty/SPTAG/ThirdParty/zstd'...
Submodule path 'thirdparty/SPTAG/ThirdParty/zstd': checked out 'e47e674cd09583ff0503f0f6defd6d23d8b718d3'
Submodule path 'thirdparty/hnsw': checked out '443d667478fddf1e13f2e06b1da4e1ec3a9fe716'
[jack@localhost MSVBASE]$ ./scripts/patch.sh
../../patch/SPTAG.patch:253: trailing whitespace.
        
../../patch/SPTAG.patch:258: trailing whitespace.
        
../../patch/SPTAG.patch:260: trailing whitespace.
        
../../patch/SPTAG.patch:262: trailing whitespace.
        
../../patch/SPTAG.patch:276: trailing whitespace.
        
warning: squelched 27 whitespace errors
warning: 32 lines add whitespace errors.
../../patch/hnsw.patch:393: trailing whitespace.
    
warning: 1 line adds whitespace errors.
../../patch/Postgres.patch:44: indent with spaces.
        estate->is_index_inorder = scandesc->xs_inorder;
../../patch/Postgres.patch:45: indent with spaces.
        //elog(INFO, "node is in order : %d", estate->is_index_inorder);
../../patch/Postgres.patch:54: indent with spaces.
        estate->is_index_inorder = scandesc->xs_inorder;
../../patch/Postgres.patch:55: indent with spaces.
        //elog(INFO, "node is in reorder : %d", estate->is_index_inorder);
../../patch/Postgres.patch:81: indent with spaces.
        //int step = 0;
warning: squelched 39 whitespace errors
warning: 44 lines add whitespace errors.

Tasks

commented

Looks like all messages are warnings. Let's figure out how to resolve these warnings.