incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mac Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HCATALOG-25) HowlStorer fails on storing data from joined tables
Date Fri, 06 May 2011 20:37:03 GMT
HowlStorer fails on storing data from joined tables
---------------------------------------------------

                 Key: HCATALOG-25
                 URL: https://issues.apache.org/jira/browse/HCATALOG-25
             Project: HCatalog
          Issue Type: Bug
            Reporter: Mac Yang


The following will fail,
hcat_client -e "create table tbl (x int, y int) stored as RCFILE"
grunt> a = load 'tbl1' as (x:int);
grunt> b = load 'tbl2' as (y:int);
grunt> c = join a by x, b by y;
grunt> store c into 'tbl' using org.apache.hcatalog.pig.HCatStorer();

Reason is,
grunt> describe c;
{a::x:int, b::y:int}

After join (or flatten or cross) Pig prepends name of the relation in front of aliases, which
then fails the validation
since alias in Howl Table are simply x and y respectively.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message