zeropc commented on issue #6009:
URL: 
https://github.com/apache/incubator-doris/issues/6009#issuecomment-864511555


   if checking 'explain select count(1) from test_int_bucket where 
bigint_col=1;' on the provided case, the query plan should be a full db scan on 
all buckets. In order to reproduce this issue the qe must be a scan on only one 
bucket that computed by FE.
   As the reference code here in 
org.apache.doris.analysis.IntLiteral#getHashValue, we can see the calling of 
'buffer.flip();' which is different with spark load (which does not flip). 
@wangbo 


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to