[
https://issues.apache.org/jira/browse/PIG-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Santhosh Srinivasan updated PIG-303:
------------------------------------
Attachment: remove_cast_to_bytearray_reuse_parser.patch
The text data parser is reused in the parseFromBytes() method in
Utf8StorageConverter.
Unit tests that still fail are:
[junit] Running org.apache.pig.test.TestBuiltin
[junit] Tests run: 23, Failures: 1, Errors: 1, Time elapsed: 14.732 sec
[junit] Test org.apache.pig.test.TestBuiltin FAILED
[junit] Running org.apache.pig.test.TestFilterOpNumeric
[junit] Tests run: 8, Failures: 0, Errors: 1, Time elapsed: 56.902 sec
[junit] Test org.apache.pig.test.TestFilterOpNumeric FAILED
[junit] Running org.apache.pig.test.TestStoreOld
[junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 41.091 sec
[junit] Test org.apache.pig.test.TestStoreOld FAILED
> POCast does not cast chararray to bytearray
> -------------------------------------------
>
> Key: PIG-303
> URL: https://issues.apache.org/jira/browse/PIG-303
> Project: Pig
> Issue Type: Bug
> Affects Versions: types_branch
> Reporter: Santhosh Srinivasan
> Assignee: Santhosh Srinivasan
> Fix For: types_branch
>
> Attachments: pig_type_to_bytearray.patch,
> remove_cast_to_bytearray.patch, remove_cast_to_bytearray_reuse_parser.patch
>
>
> When chararray is cast to bytearray, the query execution fails due to
> ClassCastException. The problem is inside the getNext(DataByteArray) code in
> POCast.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.