You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Corinne Chandel (JIRA)" <ji...@apache.org> on 2011/03/25 20:26:05 UTC

[jira] [Resolved] (PIG-1864) Pig 0.8 Documentation : non-ascii characters present in sample udf scripts

     [ https://issues.apache.org/jira/browse/PIG-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corinne Chandel resolved PIG-1864.
----------------------------------

    Resolution: Fixed

Fix for Pig 080 included in Pig-1936 patch-1 patch

Fix for Pig 090 included in Pig-1772 beta-1 patch

> 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
>            Assignee: Corinne Chandel
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> 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