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

Rong Rong commented on CALCITE-2721:
------------------------------------

Hi here, I modified the parser.jj to achieve parsing ability for member 
functions, or in general any function after an identifier (table function, 
composite function, or member function) and will pass down the responsibility 
to validator. see: 
[https://github.com/apache/calcite/commit/bac97deb4664c79fc8bb41ce543ba48295a6c618]

I have yet to modify the validator to throw validation exception for functions 
appearing in this location (e.g. Built-in function shouldn't be allowed here). 
Any thoughts on the parser approach? Looking forward to any feedbacks on this. 

> Support parsing of DOT + MEMBER_FUNCTION
> ----------------------------------------
>
>                 Key: CALCITE-2721
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2721
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Rong Rong
>            Assignee: Julian Hyde
>            Priority: Major
>         Attachments: 6_17_Method_invocation.png
>
>
> Support parsing of <DOT> + <MEMBER_FUNCTION> parsing Similar to 
> {panel:title=Example}
> {{SELECT t.complex_col}}*{{.member_func()}}* {{FROM tbl;}}
> {panel}
> For more details please see: [Member 
> Function|https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8001.htm#i2126584]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to