[
https://issues.apache.org/jira/browse/TAJO-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jihoon Son resolved TAJO-1752.
------------------------------
Resolution: Fixed
Committed to master
> NameResolver cannot find nested records properly
> ------------------------------------------------
>
> Key: TAJO-1752
> URL: https://issues.apache.org/jira/browse/TAJO-1752
> Project: Tajo
> Issue Type: Bug
> Components: Planner/Optimizer
> Reporter: Jihoon Son
> Assignee: Jihoon Son
> Fix For: 0.11.0
>
>
> See the title.
> You can reproduce as follows:
> {noformat}
> default> CREATE EXTERNAL TABLE json_test (
> id TEXT, type TEXT, url TEXT,
> actor RECORD (
> id bigint,
> login text
> ),
> payload RECORD (
> push_id bigint,
> commits RECORD (
> message text,
> url text
> )
> ),
> public BOOLEAN,
> created_at text
> )
> USING JSON
> LOCATION 'path'
> ;
> default>
> default> select type, payload.commits.message as msg from gh_json_test limit
> 3;
> ERROR: column 'payload.commits.message' does not exist
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)