hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pi song" <pi.so...@gmail.com>
Subject Problem with "GROUP" reserved word
Date Tue, 03 Jun 2008 12:27:06 GMT
If I have a query like this:-

A = load 'a' as (field1: int, field2: long);
B = group a by field1 ;

The output schema of B would be:-

group:int, a: bag{tuple1:tuple(field1: int,field2: long)}

We define "GROUP" as a reserved word but we also use it as an alias!!!
Users cannot refer to this field because they cannot use a reserved word as
alias!!!

I think one has to go.

Any thought?

Pi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message