Bail on rowId constraint when non-int

This commit is contained in:
Colin Dellow 2018-03-18 14:31:23 -04:00
parent 078754467e
commit 7b302a0eb2
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ ParquetCursor::ParquetCursor(ParquetTable* table) {
} }
bool ParquetCursor::currentRowGroupSatisfiesRowIdFilter(Constraint& constraint) { bool ParquetCursor::currentRowGroupSatisfiesRowIdFilter(Constraint& constraint) {
if(constraint.type != Integer)
return true;
int64_t target = constraint.intValue; int64_t target = constraint.intValue;
switch(constraint.op) { switch(constraint.op) {
case IsNull: case IsNull: