[
https://issues.apache.org/jira/browse/CALCITE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741677#comment-16741677
]
Rong Rong commented on CALCITE-2721:
------------------------------------
Hi folks. I just added some tests to verify and see which part of the parser is
missing.
For example, the following expression: {{my_column.my_member_func(my_arg)}},
seems to be resolved as:
{code:java}
operator = {SqlUnresolvedFunction@1718} "my_member_func"
category = {SqlFunctionCategory@1723} "USER_DEFINED_FUNCTION"
sqlIdentifier = {SqlIdentifier@1724} "my_column.my_member_func"
paramTypes = null
name = "my_member_func"
operands = {SqlNode[1]@1719}
0 = {SqlIdentifier@1729} "my_arg"
{code}
Was this want we want out from the parser?
> 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)