Open agrawalreetika opened 2 weeks ago
@yingsu00 Can you take a look?
The count should be subtracted here, make sure the bitmask is created correctly: https://github.com/facebookincubator/velox/blob/e8244c2e0fd0fcdb80372b126859493c57382ef0/velox/dwio/common/SelectiveStructColumnReader.cpp#L64
Thanks @Yuhta for looking into this. I will work on the fix.
Bug description
When we have a data file & position delete file with multiple rowgroups then the result count is not coming right. So if I try to DELETE all the rows from the original table, and try to select count from the resulted table it returns a non-zero count.
Steps To Reproduce - Execution Engine - Presto Data Format - PARQUET
Current Query Output -
Expected Query Output -
System information
NA
Relevant logs
No response