define semantics of referring to a column within bytearray column 
------------------------------------------------------------------

                 Key: PIG-1997
                 URL: https://issues.apache.org/jira/browse/PIG-1997
             Project: Pig
          Issue Type: Task
            Reporter: Thejas M Nair


When column x is of type bytearray, the semantics of x.$0 is not clear.

We need to define the behavior of this expression in the following cases -
1. Column type is bytearray and the actual object is DataByteArray.
2. Column type is bytearray and the actual object is either a Tuple or DataBag.

When the bytearray column is an object of type DataByteArray, pig runtime tries 
to cast the object as a tuple and fails with a cast exception.

I am not sure of the current behavior if the bytearray column actually contains 
a Tuple or DataBag object. (Needs to be tested).


This is related to PIG-1281 .



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

Reply via email to