[
https://issues.apache.org/jira/browse/CALCITE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720733#comment-16720733
]
Julian Hyde commented on CALCITE-2721:
--------------------------------------
Yes, that is what I am referring to. At this point, all we should do is the
parser (i.e. add a test to SqlParserTest and make it pass). Validation and
execution could be done later.
The parser cannot distinguish between {{mySchema.mySubSchema.myFunction()}} and
{{myTable.myColumn.myField.myMethod()}} (because it does not resolve names) so
the parse tree for both of these examples would look similar.
When implementing this, make sure you don't conflict with CALCITE-2674, which
has a PR almost ready to commit.
> 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)