[ 
https://issues.apache.org/jira/browse/PIG-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335374#comment-14335374
 ] 

ASF GitHub Bot commented on PIG-4433:
-------------------------------------

GitHub user kpriceyahoo opened a pull request:

    https://github.com/apache/pig/pull/16

    Fix PIG-4433: Add missing "break;" and add unit test to validate the 
modified method.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kpriceyahoo/pig branch-0.14

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/pig/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit 2f1765fec3ddad58f98c9d3cf5e9ca16b56e3580
Author: Kevin Price <[email protected]>
Date:   2015-02-24T20:18:08Z

    Fix PIG-4433: Add missing "break;" and add unit test to validate the 
modified method.

----


> Loading bigdecimal in nested tuple does not work
> ------------------------------------------------
>
>                 Key: PIG-4433
>                 URL: https://issues.apache.org/jira/browse/PIG-4433
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.14.0, 0.14.1, 0.15.0
>            Reporter: Kevin J. Price
>             Fix For: 0.14.1, 0.15.0
>
>
> The parsing of BigDecimal data types in a nested tuple, as implemented by 
> Utf8StorageConverter.java, does not work. There's a "break;" missing from a 
> switch statement.
> Code example that demonstrates the problem:
> === input.txt ===
> (17,1234567890.0987654321)
> === pig_script ===:
> inp = LOAD 'input.txt' AS (foo:tuple(bar:long, baz:bigdecimal));
> STORE inp INTO 'output';
> === output ===
> (17,)
> With patch, the output becomes the expected:
> (17,1234567890.0987654321)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to