Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 17356 invoked from network); 19 Nov 2008 00:10:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2008 00:10:08 -0000 Received: (qmail 10059 invoked by uid 500); 19 Nov 2008 00:10:15 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 9821 invoked by uid 500); 19 Nov 2008 00:10:14 -0000 Mailing-List: contact pig-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-dev@hadoop.apache.org Received: (qmail 9799 invoked by uid 99); 19 Nov 2008 00:10:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 16:10:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 00:09:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6624F234C295 for ; Tue, 18 Nov 2008 16:09:44 -0800 (PST) Message-ID: <2055682933.1227053384417.JavaMail.jira@brutus> Date: Tue, 18 Nov 2008 16:09:44 -0800 (PST) From: "Olga Natkovich (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Created: (PIG-538) bincond can't work with flatten bags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org bincond can't work with flatten bags ------------------------------------ Key: PIG-538 URL: https://issues.apache.org/jira/browse/PIG-538 Project: Pig Issue Type: Bug Affects Versions: types_branch Reporter: Olga Natkovich Assignee: Santhosh Srinivasan Fix For: types_branch The following script is user with trunk code to simulated outer join not directly supported by pig: A = load '/studenttab10k' as (name: chararray, age: int, gpa: float); B = load 'votertab10k' as (name: chararray, age: int, registration: chararray, donation: float); C = cogroup A by name, B by name; D = foreach C generate group, (IsEmpty(A) ? '' : flatten(A)), (IsEmpty(B) ? 'null' : flatten(B)); On types branch this gives syntax error and even beyond that not supported since bincond requires that both expressions be of the same type. Santhosh suggested to have special NULL expression that matches any type. This seems to make sense. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.