tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-245) org.apache.tajo.algebra.FunctionExpr cannot be cast to org.apache.tajo.algebra.ColumnReferenceExpr
Date Sun, 13 Oct 2013 15:10:43 GMT

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

Hudson commented on TAJO-245:
-----------------------------

SUCCESS: Integrated in Tajo-trunk-postcommit #509 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/509/])
TAJO-245: org.apache.tajo.algebra.FunctionExpr cannot be cast to org.apache.tajo.algebra.ColumnReferenceExpr.
(hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=2bbc3064c34ed59e990bd55584b980b83effc56f)
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/eval/IsNullEval.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java
* CHANGES.txt
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/eval/TestPredicates.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
* tajo-algebra/src/main/java/org/apache/tajo/algebra/IsNullPredicate.java


> org.apache.tajo.algebra.FunctionExpr cannot be cast to org.apache.tajo.algebra.ColumnReferenceExpr
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAJO-245
>                 URL: https://issues.apache.org/jira/browse/TAJO-245
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Seungun Choe
>            Assignee: Hyunsik Choi
>             Fix For: 0.2-incubating
>
>         Attachments: TAJO-245.patch
>
>
> {code}
> SELECT
>                 col1, col2, col3, 
>                 CASE
>                   WHEN split_part(split_part(col4,'id=', 2), '&', 1) IS NOT NULL
THEN ''
>                   ELSE
>                     CASE
>                       WHEN col4 like '/%' THEN split_part(col4,'/', 2)
>                       ELSE split_part(col4,'/', 1)
>                     END
>                 END AS col4, split_part(split_part(col4,'id=', 2), '&', 1) AS id
>         FROM table1
>         WHERE tmp='asdf';
> {code}
> error msg
> {code}
> org.apache.tajo.algebra.FunctionExpr cannot be cast to org.apache.tajo.algebra.ColumnReferenceExpr
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message