pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "balaswamy vaddeman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-4804) Reserved word help corner case
Date Wed, 10 Feb 2016 17:10:18 GMT
balaswamy vaddeman created PIG-4804:
---------------------------------------

             Summary: Reserved word help corner case
                 Key: PIG-4804
                 URL: https://issues.apache.org/jira/browse/PIG-4804
             Project: Pig
          Issue Type: Bug
          Components: piggybank
    Affects Versions: 0.15.0
            Reporter: balaswamy vaddeman
            Priority: Minor


Below are steps fro recreating the issue.
1). take sample numbers in a file.
cat >numbers.txt
12
11
111
21
111
21
ctrl+z
2). upload numbers file to a folder
hdfs dfs -put numbers.txt /user/hdfs/numbers
3). Run below pig latin script
help = load '/user/hdfs/numbers';
dump help;

If we use reserved words Pig latin has to throw an error. 

if we use help word ,it successfully completes job and in the end it prints help page.

am I missing anything here?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message