[
https://issues.apache.org/jira/browse/PIG-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965223#comment-13965223
]
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)