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 9BEB310AD3 for ; Thu, 12 Dec 2013 08:36:32 +0000 (UTC) Received: (qmail 71334 invoked by uid 500); 12 Dec 2013 08:36:32 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 71259 invoked by uid 500); 12 Dec 2013 08:36:32 -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 71250 invoked by uid 99); 12 Dec 2013 08:36:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 08:36:30 +0000 X-ASF-Spam-Status: No, hits=-2000.1 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; Thu, 12 Dec 2013 08:36:29 +0000 Received: (qmail 68942 invoked by uid 99); 12 Dec 2013 08:36:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 08:36:08 +0000 Date: Thu, 12 Dec 2013 08:36:08 +0000 (UTC) From: "Jihoon Son (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAJO-407) PostgreSQL-style cast should have higher operator priority 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-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846154#comment-13846154 ] Jihoon Son commented on TAJO-407: --------------------------------- +1. This patch looks good to me. > PostgreSQL-style cast should have higher operator priority > ---------------------------------------------------------- > > Key: TAJO-407 > URL: https://issues.apache.org/jira/browse/TAJO-407 > Project: Tajo > Issue Type: Bug > Components: operator/expression > Reporter: Hyunsik Choi > Assignee: Hyunsik Choi > Fix For: 0.8-incubating > > Attachments: TAJO-407.patch > > > See the title. Currently, postgresql-style cast has lower operator priority than some operators like equal(=). So, the following statement does not work properly. > {noformat} > tajo> select l_shipdate from lineitem where l_shipdate = '1996-03-13'::date limit 1; > ERROR: No operator matches the given name and argument type(s): lineitem.l_shipdate (DATE(0)) = 1996-03-13 > {noformat} -- This message was sent by Atlassian JIRA (v6.1.4#6159)