[ https://issues.apache.org/jira/browse/CALCITE-6165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caican Cai updated CALCITE-6165: -------------------------------- Description: Missing tests for date_add and date_diff in SqlOperatorTest was: In calcite's ParserTest, there is a lack of test for DateFunction. Currently, calcite only supports date function from parser.jj: date_diff, date_trunc. It also lacks support for many date functions. For details, you can see:[https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html] I supported the two functions date_add and date_sub in Parser.jj, and added relevant tests about date function in SqlParserTest. The purpose of adding this datefunctiontest is to tell us which date functions are supported and which date functions are not supported. Summary: Add date_sub test and date_diff test on SqlOperatorTest (was: Add date_sub and date_diff functions ) > Add date_sub test and date_diff test on SqlOperatorTest > ------------------------------------------------------- > > Key: CALCITE-6165 > URL: https://issues.apache.org/jira/browse/CALCITE-6165 > Project: Calcite > Issue Type: Test > Components: tests > Affects Versions: 1.36.0 > Reporter: Caican Cai > Assignee: Caican Cai > Priority: Minor > Labels: pull-request-available > Fix For: 1.37.0 > > Attachments: 2023-12-17 17-04-29屏幕截图-1.png, 2023-12-17 > 17-04-29屏幕截图.png > > > Missing tests for date_add and date_diff in SqlOperatorTest > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)