Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7333710236 for ; Sun, 13 Oct 2013 14:51:04 +0000 (UTC) Received: (qmail 60881 invoked by uid 500); 13 Oct 2013 14:51:04 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 60809 invoked by uid 500); 13 Oct 2013 14:51:03 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 60800 invoked by uid 99); 13 Oct 2013 14:51:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 14:51:03 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 13 Oct 2013 14:51:02 +0000 Received: (qmail 60775 invoked by uid 99); 13 Oct 2013 14:50:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 14:50:42 +0000 Date: Sun, 13 Oct 2013 14:50:41 +0000 (UTC) From: "Hyunsik Choi (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (TAJO-245) org.apache.tajo.algebra.FunctionExpr cannot be cast to org.apache.tajo.algebra.ColumnReferenceExpr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAJO-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyunsik Choi resolved TAJO-245. ------------------------------- Resolution: Fixed Fix Version/s: 0.2-incubating I've just committed it. Thank you for your review! > 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)