englefly commented on issue #64122:
URL: https://github.com/apache/doris/issues/64122#issuecomment-4725464157

   @MilanTyagi2004 我昨天提供的信息有偏差. isValid 函数在使用侧没有被调用. 但isValid 的判断逻辑在使用侧是用到了的.
   1. org.apache.doris.nereids.stats.StatsCalculator#checkNdvValidation 如果 ndv 
inValid 就不做 join reorder
   2. 
org.apache.doris.nereids.stats.StatsCalculator#getColumnStatistic(org.apache.doris.catalog.TableIf,
 java.lang.String, long) 最后 1236 行,如果 ndv 不合法,就将 columnstats 转为 unknown


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

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