tajo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-1900) When a record column and its child column are retrieved together, the record column might not be inferred as record type properly
Date Fri, 09 Oct 2015 02:44:26 GMT

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

Hudson commented on TAJO-1900:
------------------------------

FAILURE: Integrated in Tajo-master-CODEGEN-build #562 (See [https://builds.apache.org/job/Tajo-master-CODEGEN-build/562/])
TAJO-1900: When a record column and its child column are retrieved (jihoonson: rev 2aaa991c9998b600bb9027d791e6f9de3bc3f8ab)
* tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestQueryOnSelfDescTable.java
* tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/SelfDescSchemaBuildPhase.java
* CHANGES


> When a record column and its child column are retrieved together, the record column might
not be inferred as record type properly
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAJO-1900
>                 URL: https://issues.apache.org/jira/browse/TAJO-1900
>             Project: Tajo
>          Issue Type: Bug
>          Components: Planner/Optimizer
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>             Fix For: 0.11.0
>
>         Attachments: TAJO-1900.patch
>
>
> For example, given a following query, the column 'glossary' can be inferred as the TEXT
type rather than the RECORD type.
> {noformat}
> default> select glossary from self_desc_table2 where char_length(glossary."GlossDiv".title)
> 0 
> {noformat}
> This is because columns of the query are inferred in an arbitrary order, and there isn't
any routine to resolve the conflict of inferred data type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message