You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2015/08/12 08:17:45 UTC

[jira] [Created] (TAJO-1752) NameResolver cannot find nested records properly

Jihoon Son created TAJO-1752:
--------------------------------

             Summary: 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)