mirror of
https://github.com/cldellow/sqlite-parquet-vtable.git
synced 2025-09-08 22:24:56 +00:00
Fix incorrect row pruning for non-text BYTE_ARRAY
This commit is contained in:
@@ -638,7 +638,7 @@ bool ParquetCursor::currentRowSatisfiesFilter() {
|
||||
} else {
|
||||
parquet::Type::type pqType = types[column];
|
||||
|
||||
if(pqType == parquet::Type::BYTE_ARRAY) {
|
||||
if(pqType == parquet::Type::BYTE_ARRAY && logicalTypes[column] == parquet::LogicalType::UTF8) {
|
||||
rv = currentRowSatisfiesTextFilter(constraints[i]);
|
||||
} else if(pqType == parquet::Type::INT32 ||
|
||||
pqType == parquet::Type::INT64 ||
|
||||
|
Reference in New Issue
Block a user