Files
doris/regression-test/data/nereids_syntax_p0/test_cast_datetime.out
minghong dd869077f8 [fix](nereids) do not generate compare between Date to Date (#16061)
BE storage Engine has some bug in Date comparison, and hence if we push down predicates like Date'x' < Date 'y', we get error results.
This pr just convert expr like ’Date'x' < Date 'y',‘ to DateTime'x' < DateTime 'y'

TODO:
do storage engine support date slot compare with datetime?
if it support, we could avoid add cast on the slot
and then, this expression could push down to storage engine.
2023-01-19 15:56:51 +08:00

5 lines
107 B
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !1 --
1