Started half indexing

This commit is contained in:
Andrew Kane
2023-12-03 15:12:50 -08:00
parent 422667f6c6
commit 47852e8d15
4 changed files with 107 additions and 2 deletions

View File

@@ -462,8 +462,8 @@ InitBuildState(HnswBuildState * buildstate, Relation heap, Relation index, Index
buildstate->dimensions = TupleDescAttr(index->rd_att, 0)->atttypmod;
/* Require column to have dimensions to be indexed */
if (buildstate->dimensions < 0)
elog(ERROR, "column does not have dimensions");
// if (buildstate->dimensions < 0)
// elog(ERROR, "column does not have dimensions");
if (buildstate->dimensions > HNSW_MAX_DIM)
elog(ERROR, "column cannot have more than %d dimensions for hnsw index", HNSW_MAX_DIM);