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

Shuyi Chen commented on CALCITE-2542:
-------------------------------------

Thanks for the work, Rong! I think you need to also add test in 
SqlValidatorTest and SqlToRelConverterTest as well. 

[~julianhyde], can you give an example of a function(arg, ...) on the right 
side of a dot operator? I think method is not supported for record type, right?

> SqlNode AtomicRowExpression + DOT operation does not work for constructed ROWs
> ------------------------------------------------------------------------------
>
>                 Key: CALCITE-2542
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2542
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Rong Rong
>            Assignee: Julian Hyde
>            Priority: Major
>
> It seems like some of the {{AtomicRowExpression}} (such as 
> {{NamedFunctionCall}}) or rowSpan with {{<ROW>}} operator does not allow 
> following DOT operators in Parser.jj
> To named a few, the following does not parse correctly.
> {code}
> SELECT ROW(col1, col2, col3).col1 FROM t
> SELECT myFunc(arg1, arg2).col1 FROM t
> {code}



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

Reply via email to