wuyunfeng opened a new issue #3752:
URL: https://github.com/apache/incubator-doris/issues/3752


   when use `enable_docvalue_scan`, such as :
   
   ```
   CREATE EXTERNAL TABLE `doe` (
     `id` bigint(20) NULL COMMENT "",
     `city` varchar(20) NULL COMMENT "",
     `opin_type` varchar(20) NULL COMMENT ""
   ) ENGINE=ELASTICSEARCH
   COMMENT "ELASTICSEARCH"
   PROPERTIES (
   "hosts" = "http://127.0.0.1:8200";,
   "user" = "root",
   "password" = "",
   "index" = "doe2",
   "type" = "doc",
   "transport" = "http",
   "enable_docvalue_scan" = "true",
   "enable_keyword_sniff" = "true"
   ); 
   ```
   just index a few documents , and  set batch_size = [1 ... n], the result is 
inconsistent,   `batch_size - N / batch_size` NULL would be added to the result 
because of the  wrong usage of `total` hits.
   


----------------------------------------------------------------
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



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

Reply via email to