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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user