Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ADEB91F2 for ; Mon, 4 Jun 2012 21:17:24 +0000 (UTC) Received: (qmail 8194 invoked by uid 500); 4 Jun 2012 21:17:23 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 8078 invoked by uid 500); 4 Jun 2012 21:17:23 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 8017 invoked by uid 500); 4 Jun 2012 21:17:23 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 7954 invoked by uid 99); 4 Jun 2012 21:17:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2012 21:17:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 032B5140B94 for ; Mon, 4 Jun 2012 21:17:23 +0000 (UTC) Date: Mon, 4 Jun 2012 21:17:23 +0000 (UTC) From: "Jie Li (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <1481153393.36232.1338844643017.JavaMail.jiratomcat@issues-vm> In-Reply-To: <881597052.28142.1338582623409.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Assigned] (PIG-2736) Support implicit cast from bytearray to boolean MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jie Li reassigned PIG-2736: --------------------------- Assignee: Jie Li > Support implicit cast from bytearray to boolean > ----------------------------------------------- > > Key: PIG-2736 > URL: https://issues.apache.org/jira/browse/PIG-2736 > Project: Pig > Issue Type: Sub-task > Reporter: Jie Li > Assignee: Jie Li > Attachments: PIG-2736.0.patch > > > > {code} > a = load 'allscalar10k' as (name, age, gpa, instate); > b = filter a by instate==TRUE; > dump b; > {code} > Error:In alias b, incompatible types in Equal Operator left hand side:bytearray right hand side:boolean > Currently we only support implicit conversion from bytearray to chararray and number types (int,long,float,double). We need to add support for boolean as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira