chaoyli opened a new pull request #3288: Fix bug when use ZoneMap/BloomFiter on 
column with REPLACE/REPLACE_IF_NOT_NULL
URL: https://github.com/apache/incubator-doris/pull/3288
 
 
   Now, column with REPLACE/REPLACE_IF_NOT_NULL can be filtered by 
ZoneMap/BloomFilter
   when the rowset is base(version starts with zero). Always we think is an 
optimization.
   But when some case, it will occurs bug.
   
   ```
   create table test(
     k1 int,
     v1 int replace,
     v2 int sum
   );
   ```
   If I have two records on different two versions
   ```
   1 2 2 on version [0-10]
   1 3 1 on version 11
   ```
   If I perform a query select * from test where k1 = 1 and v1 = 3;
   The result will be 1 3 1, this is not right because of the first record is 
filtered.
   Remove this optimization is necessity to make the result is right.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to