Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # dev >> Is "void" as reserved keyword? Docs do not mention it


Copy link to this message
-
Re: Is "void" as reserved keyword? Docs do not mention it
Here is the ticket: https://issues.apache.org/jira/browse/PIG-3370
On Mon, Jul 1, 2013 at 6:11 PM, Sergey Goder <[EMAIL PROTECTED]> wrote:

> Sure, I'll try and compile a list and create the ticket.
>
> Sergey
> On Jul 1, 2013 5:31 PM, "Aniket Mokashi" <[EMAIL PROTECTED]> wrote:
>
>> Can you please open a jira to report this?
>>
>>
>> On Mon, Jul 1, 2013 at 5:30 PM, Aniket Mokashi <[EMAIL PROTECTED]>
>> wrote:
>>
>> > It was broken because of PIG-1998. The reserved keywords list on docs is
>> > not up to date. eg- rank, returns, dense, cube. A lot of them are
>> missing.
>> >
>> > ~Aniket
>> >
>> >
>> > On Mon, Jul 1, 2013 at 4:38 PM, Sergey Goder <[EMAIL PROTECTED]
>> >wrote:
>> >
>> >> Not sure if this is proof that it is a reserved work but I here is
>> what I
>> >> am seeing:
>> >>
>> >> -- no error
>> >> grunt> v = LOAD 'test.data' USING PigStorage(' ') AS (id: int, val:
>> >> chararray);
>> >>
>> >> -- error with known reserved keyword
>> >> grunt> and = LOAD 'test.data' USING PigStorage(' ') AS (id: int, val:
>> >> chararray);
>> >> 2013-07-01 16:29:02,806 [main] ERROR org.apache.pig.tools.grunt.Grunt -
>> >> ERROR 1200: <line 2, column 0>  mismatched input 'and' expecting EOF
>> >>
>> >> -- error with void
>> >> grunt> void = LOAD 'test.data' USING PigStorage(' ') AS (id: int, val:
>> >> chararray);
>> >> 2013-07-01 16:30:54,145 [main] ERROR org.apache.pig.tools.grunt.Grunt -
>> >> ERROR 1200: <line 3, column 0>  mismatched input 'void' expecting EOF
>> >>
>> >> I think the docs just need to be changed to reflect this.
>> >>
>> >> Sergey
>> >>
>> >
>> >
>> >
>> > --
>> > "...:::Aniket:::... Quetzalco@tl"
>> >
>>
>>
>>
>> --
>> "...:::Aniket:::... Quetzalco@tl"
>>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB