We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, sysdate() couldn't been folded during optimization. In this issue, we wanted to push down sysdate() in following rule:
sysdate()
sysdate-is-now
sysdate
ref https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_sysdate
The text was updated successfully, but these errors were encountered:
sysdate_is_now
planner: support sysdate behavior according to sysdate_is_now (#31881)
a31ca21
close #31872
sysvar: rename sysdate_is_now as tidb_sysdate_is_now (#32957)
fcf7bd8
expr: fix unstable comparing push down fucntion result testcase (#33655)
db852db
ref #31872
Successfully merging a pull request may close this issue.
Enhancement
Currently,
sysdate()
couldn't been folded during optimization. In this issue, we wanted to push downsysdate()
in following rule:sysdate-is-now
, default falsesysdate-is-now
is true, we should foldsysdate
during optimizationsysdate-is-now
is false, we should push down sysdate into TiKVref https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_sysdate
The text was updated successfully, but these errors were encountered: