[
https://issues.apache.org/jira/browse/FLINK-7923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351189#comment-16351189
]
ASF GitHub Bot commented on FLINK-7923:
---------------------------------------
Github user suez1224 commented on the issue:
https://github.com/apache/flink/pull/5367
@hequn8128 @twalthr could you please take another look? I've refactored the
code to reuse the generateFieldAccess() code, also added null test. Nested
tuple wont work now due to https://issues.apache.org/jira/browse/CALCITE-2162.
I've submitted a PR to fix it in Calcite.
> SQL parser exception when accessing subfields of a Composite element in an
> Object Array type column
> ---------------------------------------------------------------------------------------------------
>
> Key: FLINK-7923
> URL: https://issues.apache.org/jira/browse/FLINK-7923
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Affects Versions: 1.4.0
> Reporter: Rong Rong
> Assignee: Shuyi Chen
> Priority: Major
>
> Access type such as:
> {code:SQL}
> SELECT
> a[1].f0
> FROM
> MyTable
> {code}
> will cause problem.
> See following test sample for more details:
> https://github.com/walterddr/flink/commit/03c93bcb0fb30bd2d327e35b5e244322d449b06a
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)