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 B513410A51 for ; Fri, 20 Sep 2013 15:00:14 +0000 (UTC) Received: (qmail 52281 invoked by uid 500); 20 Sep 2013 15:00:13 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 52215 invoked by uid 500); 20 Sep 2013 15:00:13 -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 52197 invoked by uid 99); 20 Sep 2013 15:00:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 15:00:13 +0000 X-ASF-Spam-Status: No, hits=-2000.6 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; Fri, 20 Sep 2013 15:00:12 +0000 Received: (qmail 48329 invoked by uid 99); 20 Sep 2013 14:59:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 14:59:51 +0000 Date: Fri, 20 Sep 2013 14:59:51 +0000 (UTC) From: "Hyunsik Choi (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TAJO-187) The exception 'Some targets cannot be evaluated' is caused in nested joins 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-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyunsik Choi updated TAJO-187: ------------------------------ Attachment: TAJO-187.patch I've uploaded the patch. This bug was caused by the case sensitivity of relation names. In Tajo, relation names deal as lower case strings. But, TableSubQueryNode used relation names in case sensitive manner. This patch depends on TAJO-46 and TAJO-186. You should sequentially apply the patch of TAJO-186 and TAJO-46 before applying this patch. > The exception 'Some targets cannot be evaluated' is caused in nested joins > -------------------------------------------------------------------------- > > Key: TAJO-187 > URL: https://issues.apache.org/jira/browse/TAJO-187 > Project: Tajo > Issue Type: Bug > Reporter: Seungun Choe > Assignee: Hyunsik Choi > Attachments: TAJO-187.patch > > > {code} > INSERT OVERWRITE into table1 > SELECT > B.num, > A.hash, > A.host, > A.hour, > A.date > FROM > (SELECT * FROM place WHERE host LIKE '%.google.com' AND date LIKE '201307%') A > JOIN table2 B ON A.hash=B.hash > {code} > This query makes some error message. > - Some targets cannot be evaluated in the query block "@NONAME_1" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira