englefly commented on PR #64206: URL: https://github.com/apache/doris/pull/64206#issuecomment-4646253954
这个 pr 对应的场景是 ndv 不可用,但 min/max/num_nulls 可用. 在这种场景下希望继续使用 min/max/num_nulls, 所以将 ndv 设置为 1. 是吗? ndv 是最重要的一个列统计信息,如果设置为 1, 统计信息推导(StatsCalculator)必须做相应的改动,否则会产生一些比较极端的情况,导致 plan 劣化 -- 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]
