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

Askar Bozcan commented on CALCITE-5548:
---------------------------------------

I had some questions however, as this is my first time contributing.

Are these steps to adding DB specific functionality correct:

1) Add support in parser (I would be extending Babel in this case)

2) Add the SqlFunction in SqlLibrary

3) Make additions to the dialect for unparsing SqlNodes

> Add support for MSSQL CONVERT function
> --------------------------------------
>
>                 Key: CALCITE-5548
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5548
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Askar Bozcan
>            Assignee: Askar Bozcan
>            Priority: Minor
>
> Add support for CONVERT function (which is the same as CAST, with optional 
> formatting)
> More info: 
> [https://learn.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql?view=sql-server-ver16]
>  
> Example usage:
> {{SELECT CONVERT(DATETIME, '2017-08-25', 101)}}
>  
> Related issue: https://issues.apache.org/jira/browse/CALCITE-111
>  



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

Reply via email to