You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/12 08:41:45 UTC
[jira] [Commented] (TAJO-1752) NameResolver cannot find nested
records properly
[ https://issues.apache.org/jira/browse/TAJO-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693016#comment-14693016 ]
ASF GitHub Bot commented on TAJO-1752:
--------------------------------------
GitHub user jihoonson opened a pull request:
https://github.com/apache/tajo/pull/686
TAJO-1752: NameResolver cannot find nested records properly
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jihoonson/tajo-2 TAJO-1752
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/686.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #686
----
commit e9e72af6cde84a72eac919cfee9bc78b82ae6041
Author: Jihoon Son <ji...@apache.org>
Date: 2015-08-12T06:40:40Z
TAJO-1752
----
> 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)