Pig 0.8 Documentation : non-ascii characters present in sample udf scripts 
---------------------------------------------------------------------------

                 Key: PIG-1864
                 URL: https://issues.apache.org/jira/browse/PIG-1864
             Project: Pig
          Issue Type: Bug
          Components: documentation
    Affects Versions: 0.8.0
            Reporter: Vivek Padmanabhan
            Priority: Minor


In documentation ;
http://pig.apache.org/docs/r0.8.0/udf.html#Python+UDFs

For Sample Script UDFs , there are some non -ascii charaters present. Because 
of this when we try to execute the sample scripts it fails with error 
ERROR 2999: Unexpected internal error. null

SyntaxError: Non-ASCII character in file '<iostream>', but no encoding 
declared; see http://www.python.org/peps/pep-0263.html for details
================================================================================


In the sample scripts provided in some of the line wrong characters are prsent 
. For example :
{code}
@outputSchema("onestring:chararray")
{code}


{code}
@outputSchema("y:bag{t:tuple(len:int,word:chararray)}") 
{code}

Requesting to have a look at all the udf examples present , since its a common 
practice to copy the examples directly and do a run .


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to