1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-14 22:39:59 +00:00

Row group filtering for BYTE_ARRAY

This commit is contained in:
Colin Dellow
2018-03-18 15:03:08 -04:00
parent 7b302a0eb2
commit 1f3ffce560
3 changed files with 112 additions and 5 deletions

View File

@@ -465,9 +465,6 @@ static int parquetBestIndex(
pIdxInfo->aConstraintUsage[i].argvIndex = j;
}
}
// TODO: consider setting this when querying by rowid? Unclear if that's implied.
// pIdxInfo->idxFlags = SQLITE_INDEX_SCAN_UNIQUE;
}
printf("idx %d has cost %f\n", pIdxInfo->idxNum, pIdxInfo->estimatedCost);
@@ -480,7 +477,6 @@ static int parquetBestIndex(
pIdxInfo->idxStr = (char*)dupe;
pIdxInfo->needToFreeIdxStr = 1;
// TODO: populate argvIndex.
memset(dupe, 0, dupeSize);
memcpy(dupe, pIdxInfo, sizeof(sqlite3_index_info));