[
https://issues.apache.org/jira/browse/PIG-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated PIG-1572:
-------------------------------
Attachment: PIG-1572.1.patch
Summary of changes
- Changed default type (ie type when input relation to scalar has not type) to
bytearray.
- Replaced PigStorage with InterStorage for load/store of scalar data, so typed
data is stored.
- Changes to track lineage of the ReadScalars udf to the load function(s).
- Removed unnecessary casts on output of ReadScalars
- "describe alias;" PigServer code now checks the alias of the leaf logical
operators
- Changed test cases - explicit cast no longer required when bytearray is used
in arithmetic operations. Moved some of the tests to local mode to reduce test
run time.
> change default datatype when relations are used as scalar to bytearray
> ----------------------------------------------------------------------
>
> Key: PIG-1572
> URL: https://issues.apache.org/jira/browse/PIG-1572
> Project: Pig
> Issue Type: Bug
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Fix For: 0.8.0
>
> Attachments: PIG-1572.1.patch
>
>
> When relations are cast to scalar, the current default type is chararray.
> This is inconsistent with the behavior in rest of pig-latin.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.