For Text/Varchar/Char/Bpchar columns, we should ignore generating StatsBuckets in DXL
Instead we should maintain NDVRemain and NullFreq to do Cardinality
Estimation.
Adding function to check if we need to create stats bucket in DXL
Function `FCreateStatsBucket` returns true if column data type is
not a text/varchar/char/bpchar type.
Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
Showing
想要评论请 注册 或 登录