[ 
https://issues.apache.org/jira/browse/CALCITE-6396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872648#comment-17872648
 ] 

Caican Cai edited comment on CALCITE-6396 at 8/11/24 1:36 AM:
--------------------------------------------------------------

I read the official document of DataRisks, and the description in the document 
is only int type.
https://docs.databricks.com/en/sql/language-manual/functions/add_months.html

It seems that the implementation of the spark source code is inconsistent with 
the description in the document, but I prefer the approach in the document, n 
should be an integral number.


was (Author: JIRAUSER302115):
I read the official document of DataRisks, and the description in the document 
is only int type.

It seems that the implementation of the spark source code is inconsistent with 
the description in the document, but I prefer the approach in the document, n 
should be an integral number.

> Add ADD_MONTHS function (enabled in Spark library)
> --------------------------------------------------
>
>                 Key: CALCITE-6396
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6396
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.36.0
>            Reporter: Caican Cai
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> Add ADD_MONTHS function (enabled in Spark library)
>  
> https://spark.apache.org/docs/2.3.0/api/sql/index.html#add_months



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to