Santhosh Srinivasan commented on PIG-912:


> Rename/Add 'string' as a type in place of chararray - and deprecate (and 
> probably eventually remove) the use of 'chararray'
> ---------------------------------------------------------------------------------------------------------------------------
>                 Key: PIG-912
>                 URL: https://issues.apache.org/jira/browse/PIG-912
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Mridul Muralidharan
> The type 'chararray' in pig does not refer to an array of characters (char 
> []) but rather to java.lang.String
> This is inconsistent and confusing naming; and additionally, will be a 
> interoperability issue with other systems which support schema's (zebra among 
> others).
> It would be good to have a consistent naming across projects, while also 
> having appropriate names for the various types.
> Since use of 'chararray' is already widely deployed, it would be good to :
> a) Add a type 'string' (or equivalent) which is an alias for 'chararray'.
> Additionally, it is possible to envision these too (if deemed necessary - not 
> a main requiremnt) :
> b) Modify documentation and example scripts to use this new type.
> c) Emit warnings about chararray being deprecated.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to