gpdb icon indicating copy to clipboard operation
gpdb copied to clipboard

Time related type are not comparable in cardinality estimation

Open wangpanCN opened this issue 3 years ago • 0 comments

Enhancement

commit 8383593168abb9084ee9c1da07ab5fb6a40ce639 forbid to compare time related type with another if they are not exactly the same. But in tpcds case,it awalys lead to an inaccurate estimation. for example image we can get a more accurate estimation in postgres optimizer. why not map date to double directly so that date can compare to timestamp?

wangpanCN avatar Sep 15 '22 03:09 wangpanCN