set enable_nereids_planner=true;
set enable_fallback_to_original_planner=false;
select kdt + interval 1 day from fn_test order by kdt;
select kdt + interval 1 second from fn_test order by kdt;
select interval 1 day + kdt from fn_test order by kdt;
select interval 1 second + kdt from fn_test order by kdt;
select kdt - interval 1 day from fn_test order by kdt;
select kdt - interval 1 second from fn_test order by kdt;
select kdt + interval 1 day from fn_test_not_nullable order by kdt;
select kdt + interval 1 second from fn_test_not_nullable order by kdt;
select interval 1 day + kdt from fn_test_not_nullable order by kdt;
select interval 1 second + kdt from fn_test_not_nullable order by kdt;
select kdt - interval 1 day from fn_test_not_nullable order by kdt;
select kdt - interval 1 second from fn_test_not_nullable order by kdt;
select kdtv2 + interval 1 year from fn_test order by kdt;
select kdtv2 + interval 1 month from fn_test order by kdt;
select kdtv2 + interval 1 week from fn_test order by kdt;
select kdtv2 + interval 1 day from fn_test order by kdt;
select kdtv2 + interval 1 hour from fn_test order by kdt;
select kdtv2 + interval 1 minute from fn_test order by kdt;
select kdtv2 + interval 1 second from fn_test order by kdt;
select interval 1 year + kdtv2 from fn_test order by kdt;
select interval 1 month + kdtv2 from fn_test order by kdt;
select interval 1 week + kdtv2 from fn_test order by kdt;
select interval 1 day + kdtv2 from fn_test order by kdt;
select interval 1 hour + kdtv2 from fn_test order by kdt;
select interval 1 minute + kdtv2 from fn_test order by kdt;
select interval 1 second + kdtv2 from fn_test order by kdt;
select kdtv2 - interval 1 day from fn_test order by kdt;
select kdtv2 - interval 1 second from fn_test order by kdt;
select kdtv2 + interval 1 day from fn_test_not_nullable order by kdt;
select kdtv2 + interval 1 second from fn_test_not_nullable order by kdt;
select interval 1 year + kdtv2 from fn_test_not_nullable order by kdt;
select interval 1 month + kdtv2 from fn_test_not_nullable order by kdt;
select interval 1 week + kdtv2 from fn_test_not_nullable order by kdt;
select interval 1 day + kdtv2 from fn_test_not_nullable order by kdt;
select interval 1 hour + kdtv2 from fn_test_not_nullable order by kdt;
select interval 1 minute + kdtv2 from fn_test_not_nullable order by kdt;
select interval 1 second + kdtv2 from fn_test_not_nullable order by kdt;
select kdtv2 - interval 1 day from fn_test_not_nullable order by kdt;
select kdtv2 - interval 1 second from fn_test_not_nullable order by kdt;
select kdtm + interval 1 day from fn_test order by kdt;
select kdtm + interval 1 second from fn_test order by kdt;
select kdtm - interval 1 day from fn_test order by kdt;
select kdtm - interval 1 second from fn_test order by kdt;
select kdtm + interval 1 day from fn_test_not_nullable order by kdt;
select kdtm + interval 1 second from fn_test_not_nullable order by kdt;
select kdtm - interval 1 day from fn_test_not_nullable order by kdt;
select kdtm - interval 1 second from fn_test_not_nullable order by kdt;
select kdtmv2s1 + interval 1 year from fn_test order by kdt;
select kdtmv2s1 + interval 1 month from fn_test order by kdt;
select kdtmv2s1 + interval 1 week from fn_test order by kdt;
select kdtmv2s1 + interval 1 day from fn_test order by kdt;
select kdtmv2s1 + interval 1 hour from fn_test order by kdt;
select kdtmv2s1 + interval 1 minute from fn_test order by kdt;
select kdtmv2s1 + interval 1 second from fn_test order by kdt;
select interval 1 year + kdtmv2s1 from fn_test order by kdt;
select interval 1 month + kdtmv2s1 from fn_test order by kdt;
select interval 1 week + kdtmv2s1 from fn_test order by kdt;
select interval 1 day + kdtmv2s1 from fn_test order by kdt;
select interval 1 hour + kdtmv2s1 from fn_test order by kdt;
select interval 1 minute + kdtmv2s1 from fn_test order by kdt;
select interval 1 second + kdtmv2s1 from fn_test order by kdt;
select kdtmv2s1 - interval 1 day from fn_test order by kdt;
select kdtmv2s1 - interval 1 second from fn_test order by kdt;
select kdtmv2s1 + interval 1 day from fn_test_not_nullable order by kdt;
select kdtmv2s1 + interval 1 second from fn_test_not_nullable order by kdt;
select interval 1 year + kdtmv2s1 from fn_test_not_nullable order by kdt;
select interval 1 month + kdtmv2s1 from fn_test_not_nullable order by kdt;
select interval 1 week + kdtmv2s1 from fn_test_not_nullable order by kdt;
select interval 1 day + kdtmv2s1 from fn_test_not_nullable order by kdt;
select interval 1 hour + kdtmv2s1 from fn_test_not_nullable order by kdt;
select interval 1 minute + kdtmv2s1 from fn_test_not_nullable order by kdt;
select interval 1 second + kdtmv2s1 from fn_test_not_nullable order by kdt;
select kdtmv2s1 - interval 1 day from fn_test_not_nullable order by kdt;
select kdtmv2s1 - interval 1 second from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 year from fn_test order by kdt;
select kdtmv2s2 + interval 1 month from fn_test order by kdt;
select kdtmv2s2 + interval 1 week from fn_test order by kdt;
select kdtmv2s2 + interval 1 day from fn_test order by kdt;
select kdtmv2s2 + interval 1 hour from fn_test order by kdt;
select kdtmv2s2 + interval 1 minute from fn_test order by kdt;
select kdtmv2s2 + interval 1 second from fn_test order by kdt;
select interval 1 year + kdtmv2s2 from fn_test order by kdt;
select interval 1 month + kdtmv2s2 from fn_test order by kdt;
select interval 1 week + kdtmv2s2 from fn_test order by kdt;
select interval 1 day + kdtmv2s2 from fn_test order by kdt;
select interval 1 hour + kdtmv2s2 from fn_test order by kdt;
select interval 1 minute + kdtmv2s2 from fn_test order by kdt;
select interval 1 second + kdtmv2s2 from fn_test order by kdt;
select kdtmv2s2 - interval 1 day from fn_test order by kdt;
select kdtmv2s2 - interval 1 second from fn_test order by kdt;
select kdtmv2s2 + interval 1 year from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 month from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 week from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 day from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 hour from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 minute from fn_test_not_nullable order by kdt;
select kdtmv2s2 + interval 1 second from fn_test_not_nullable order by kdt;
select interval 1 year + kdtmv2s2 from fn_test_not_nullable order by kdt;
select interval 1 month + kdtmv2s2 from fn_test_not_nullable order by kdt;
select interval 1 week + kdtmv2s2 from fn_test_not_nullable order by kdt;
select interval 1 day + kdtmv2s2 from fn_test_not_nullable order by kdt;
select interval 1 hour + kdtmv2s2 from fn_test_not_nullable order by kdt;
select interval 1 minute + kdtmv2s2 from fn_test_not_nullable order by kdt;
select interval 1 second + kdtmv2s2 from fn_test_not_nullable order by kdt;
select kdtmv2s2 - interval 1 day from fn_test_not_nullable order by kdt;
select kdtmv2s2 - interval 1 second from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 year from fn_test order by kdt;
select kdtmv2s3 + interval 1 month from fn_test order by kdt;
select kdtmv2s3 + interval 1 week from fn_test order by kdt;
select kdtmv2s3 + interval 1 day from fn_test order by kdt;
select kdtmv2s3 + interval 1 hour from fn_test order by kdt;
select kdtmv2s3 + interval 1 minute from fn_test order by kdt;
select kdtmv2s3 + interval 1 second from fn_test order by kdt;
select interval 1 year + kdtmv2s3 from fn_test order by kdt;
select interval 1 month + kdtmv2s3 from fn_test order by kdt;
select interval 1 week + kdtmv2s3 from fn_test order by kdt;
select interval 1 day + kdtmv2s3 from fn_test order by kdt;
select interval 1 hour + kdtmv2s3 from fn_test order by kdt;
select interval 1 minute + kdtmv2s3 from fn_test order by kdt;
select interval 1 second + kdtmv2s3 from fn_test order by kdt;
select kdtmv2s3 - interval 1 day from fn_test order by kdt;
select kdtmv2s3 - interval 1 second from fn_test order by kdt;
select kdtmv2s3 + interval 1 year from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 month from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 week from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 day from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 hour from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 minute from fn_test_not_nullable order by kdt;
select kdtmv2s3 + interval 1 second from fn_test_not_nullable order by kdt;
select interval 1 year + kdtmv2s3 from fn_test_not_nullable order by kdt;
select interval 1 month + kdtmv2s3 from fn_test_not_nullable order by kdt;
select interval 1 week + kdtmv2s3 from fn_test_not_nullable order by kdt;
select interval 1 day + kdtmv2s3 from fn_test_not_nullable order by kdt;
select interval 1 hour + kdtmv2s3 from fn_test_not_nullable order by kdt;
select interval 1 minute + kdtmv2s3 from fn_test_not_nullable order by kdt;
select interval 1 second + kdtmv2s3 from fn_test_not_nullable order by kdt;
select kdtmv2s3 - interval 1 day from fn_test_not_nullable order by kdt;
select kdtmv2s3 - interval 1 second from fn_test_not_nullable order by kdt;
