You define user-defined functions in your JSON model: 
http://calcite.apache.org/docs/model.html#function 
<http://calcite.apache.org/docs/model.html#function> 


> On Mar 6, 2016, at 1:34 AM, Sameh Samra <[email protected]> wrote:
> 
> Hi,
> 
> Thank you for your reply and your cooperation.
> 
> Could you please tell me How to create "user-defined functions" in calcite 
> parser?
> 
> From: Sameh Samra
> Sent: Thursday, March 3, 2016 5:40 PM
> To: '[email protected]' <[email protected]>
> Subject: Calcite parser
> 
> Hi *,
> We use calcite parser to parse Oracle and MSSQL queries.
> However, we found that SqlParser.parseQuery() cannot understand the following 
> key words in Oracle queries: MINUS and !=
> On the other hand in MSSQL, it cannot parse queries that has CONVERT and 
> DATEDIFF functions and bit operation (&).
> 
> Could you please tell us how we can overcome this problem?
> 
> Best regards,
> Sameh Samra
> 
> novomind Egypt LLC
> _____________________________
> 
> 7 Abou Rafea Street, Moustafa Kamel, Alexandria, Egypt
> 
> Phone +20 3 5447541 - 104
> email [email protected]<mailto:[email protected]> * Skype 
> sameh.samra_nmeg
> 

Reply via email to