pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Svinarchuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3586) paren in comment causes error
Date Thu, 10 Apr 2014 11:19:15 GMT

    [ https://issues.apache.org/jira/browse/PIG-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965224#comment-13965224
] 

Sergey Svinarchuk commented on PIG-3586:
----------------------------------------

I tested next command on pig 0.12 and it was successful

a = load '/user/test/studentnulltab10k' using PigStorage(',') 
as (
--This is work (
name, age:int, gpa:double, instate:chararray);

> paren in comment causes error
> -----------------------------
>
>                 Key: PIG-3586
>                 URL: https://issues.apache.org/jira/browse/PIG-3586
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Kurt Smith
>            Priority: Minor
>
> This works:
> a = load 'something' as (
> -- I want a comment here
> i :int);
> However, comments do not like a open parenthesis. This raises an error:
> a = load 'something' as (
> -- Why doesn't this work :(
> -- However, this works :( :)
> i:int);



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message