1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-08 22:24:56 +00:00

More tests cases to deal with affinity

I'm not sure how these manifest - whether SQLite retypes them based on
column affinity before we see them, or whether they're provided as is.
This commit is contained in:
Colin Dellow
2018-03-11 19:18:44 -04:00
parent 095b576cc2
commit 1f938a005d
50 changed files with 106 additions and 7 deletions

View File

@@ -18,11 +18,17 @@ bool ParquetCursor::currentRowGroupSatisfiesFilter() {
int op = constraints[i].getOperator();
bool rv = true;
// printf("column = %d\n", column);
// std::unique_ptr<parquet::ColumnChunkMetaData> md = rowGroupMetadata->ColumnChunk(column);
if(column == -1) {
if(op == IsNull) {
return false;
}
} else {
// printf("column = %d\n", column);
// std::unique_ptr<parquet::ColumnChunkMetaData> md = rowGroupMetadata->ColumnChunk(column);
if(op == IsNull) {
} else if(op == IsNotNull) {
if(op == IsNull) {
} else if(op == IsNotNull) {
}
}
if(!rv)