-
Notifications
You must be signed in to change notification settings - Fork 53
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
create index on empty table #37
create index on empty table #37
Conversation
test/sql/hnsw_insert_empty_table.sql
Outdated
|
||
CREATE TABLE small_world ( | ||
id varchar(3), | ||
vector vector(3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this test with arrays and drop vector dependency?
And, use the small_world definition from test_helpers
(just \ir test_helpers/small_world_arrays.sql
)
src/hnsw/external_index.c
Outdated
@@ -1,4 +1,3 @@ | |||
|
|||
#include "postgres.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use <...>
for postgres headers (#include "postgres.h"
)
b844bb3
to
6e89143
Compare
Merged these changes through your newer PR (#41). Thanks for your contribution! |
* - Create lock table in lantern schema - Hash client trigger function and trigger names so they won't exceed the character limit * Bump cli version
when index is crated on empty table there is only header block
when new data is added, we add block map and data pages and populate them