expr: fix unstable comparing push down fucntion result testcase (#33655)

ref pingcap/tidb#31872
This commit is contained in:
Song Gao
2022-04-01 19:22:29 +08:00
committed by GitHub
parent d0bf65c389
commit db852db50b

View File

@ -2791,10 +2791,6 @@ func TestTimeScalarFunctionPushDownResult(t *testing.T) {
sql string
function string
}{
{
sql: "select now(), now() from t where sysdate()-now()<2;",
function: "sysdate",
},
{
sql: "select col1, to_days(col1) from t where to_days(col1)=to_days('2022-03-24 01:02:03.040506');",
function: "to_days",