From 7b302a0eb2afb2c110efd6ad05532a1e37633ecd Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Sun, 18 Mar 2018 14:31:23 -0400 Subject: [PATCH] Bail on rowId constraint when non-int --- parquet/parquet_cursor.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parquet/parquet_cursor.cc b/parquet/parquet_cursor.cc index 806ae77..52ee438 100644 --- a/parquet/parquet_cursor.cc +++ b/parquet/parquet_cursor.cc @@ -7,6 +7,9 @@ ParquetCursor::ParquetCursor(ParquetTable* table) { } bool ParquetCursor::currentRowGroupSatisfiesRowIdFilter(Constraint& constraint) { + if(constraint.type != Integer) + return true; + int64_t target = constraint.intValue; switch(constraint.op) { case IsNull: