englefly opened a new pull request, #38880:
URL: https://github.com/apache/doris/pull/38880

   ## Proposed changes
   we have 2 sources to get table rowCount
   1. row count reported by BE
   2. row count set by analyzer
   when the reported row count is no more than zero, we use the row count set 
by analyzer.
   for olap table, TableStatsMeta.getRowCount(indexId) returns the row count 
set by analzyer
   for external table, TableStatsMeta.getRowCount(indexId) is not exists, and  
we use the max of ColumnStatistics.count
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   


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

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

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