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

ASF GitHub Bot commented on TAJO-2127:
--------------------------------------

Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/1005#discussion_r60712098
  
    --- Diff: tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanner.java 
---
    @@ -577,7 +577,7 @@ public static void verifyProjectedFields(QueryBlock 
block, Projectable projectab
       public static void prohibitNestedRecordProjection(Projectable 
projectable)
           throws TajoException {
         for (Target t : projectable.getTargets()) {
    -      if (t.getEvalTree().getValueType().getType() == 
TajoDataTypes.Type.RECORD) {
    +      if (t.getEvalTree().getValueType().isStruct()) {
    --- End diff --
    
    Ok. Looks good.


> Use Type instead of DataType for EvalNode
> -----------------------------------------
>
>                 Key: TAJO-2127
>                 URL: https://issues.apache.org/jira/browse/TAJO-2127
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.12.0
>
>
> See TAJO-2042 and TAJO-2043. This issue will change the return type of 
> EvalNode::getValueType() to be org.apache.tajo.type.Type and its related 
> code. Also, I'll some converter to order to keep existing APIs.



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

Reply via email to