Grokbase Groups Pig dev August 2008
FAQ
There should be a DataAtom.setValue(DataAtom)
---------------------------------------------

Key: PIG-391
URL: https://issues.apache.org/jira/browse/PIG-391
Project: Pig
Issue Type: Improvement
Affects Versions: 0.1.0
Reporter: Ted Dunning


setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.

This should be trivial.


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

Search Discussions

  • Olga Natkovich (JIRA) at Aug 21, 2008 at 10:29 pm
    [ https://issues.apache.org/jira/browse/PIG-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624501#action_12624501 ]

    Olga Natkovich commented on PIG-391:
    ------------------------------------

    DataAtom is going away once types branch is merged back to the trunk.
    There should be a DataAtom.setValue(DataAtom)
    ---------------------------------------------

    Key: PIG-391
    URL: https://issues.apache.org/jira/browse/PIG-391
    Project: Pig
    Issue Type: Improvement
    Affects Versions: 0.1.0
    Reporter: Ted Dunning

    setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.
    This should be trivial.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Ted Dunning (JIRA) at Aug 21, 2008 at 11:21 pm
    [ https://issues.apache.org/jira/browse/PIG-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ted Dunning updated PIG-391:
    ----------------------------

    Status: Open (was: Patch Available)

    Didn't see the upload option.

    There should be a DataAtom.setValue(DataAtom)
    ---------------------------------------------

    Key: PIG-391
    URL: https://issues.apache.org/jira/browse/PIG-391
    Project: Pig
    Issue Type: Improvement
    Affects Versions: 0.1.0
    Reporter: Ted Dunning
    Fix For: 0.1.0


    setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.
    This should be trivial.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Ted Dunning (JIRA) at Aug 21, 2008 at 11:21 pm
    [ https://issues.apache.org/jira/browse/PIG-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ted Dunning updated PIG-391:
    ----------------------------

    Fix Version/s: 0.1.0
    Status: Patch Available (was: Open)

    Here is a patch anyway.
    There should be a DataAtom.setValue(DataAtom)
    ---------------------------------------------

    Key: PIG-391
    URL: https://issues.apache.org/jira/browse/PIG-391
    Project: Pig
    Issue Type: Improvement
    Affects Versions: 0.1.0
    Reporter: Ted Dunning
    Fix For: 0.1.0


    setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.
    This should be trivial.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Ted Dunning (JIRA) at Aug 21, 2008 at 11:23 pm
    [ https://issues.apache.org/jira/browse/PIG-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ted Dunning updated PIG-391:
    ----------------------------

    Comment: was deleted
    There should be a DataAtom.setValue(DataAtom)
    ---------------------------------------------

    Key: PIG-391
    URL: https://issues.apache.org/jira/browse/PIG-391
    Project: Pig
    Issue Type: Improvement
    Affects Versions: 0.1.0
    Reporter: Ted Dunning
    Fix For: 0.1.0


    setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.
    This should be trivial.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Ted Dunning (JIRA) at Aug 21, 2008 at 11:25 pm
    [ https://issues.apache.org/jira/browse/PIG-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ted Dunning updated PIG-391:
    ----------------------------

    Status: Patch Available (was: Open)

    See attachment.
    There should be a DataAtom.setValue(DataAtom)
    ---------------------------------------------

    Key: PIG-391
    URL: https://issues.apache.org/jira/browse/PIG-391
    Project: Pig
    Issue Type: Improvement
    Affects Versions: 0.1.0
    Reporter: Ted Dunning
    Fix For: 0.1.0

    Attachments: setValue.patch


    setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.
    This should be trivial.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Ted Dunning (JIRA) at Aug 21, 2008 at 11:25 pm
    [ https://issues.apache.org/jira/browse/PIG-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ted Dunning updated PIG-391:
    ----------------------------

    Attachment: setValue.patch

    Here is a patch.
    There should be a DataAtom.setValue(DataAtom)
    ---------------------------------------------

    Key: PIG-391
    URL: https://issues.apache.org/jira/browse/PIG-391
    Project: Pig
    Issue Type: Improvement
    Affects Versions: 0.1.0
    Reporter: Ted Dunning
    Fix For: 0.1.0

    Attachments: setValue.patch


    setValue on a DataAtom can accept a string or integer or double, but not a DataAtom. That means I have to inject a string conversion or type test into my code when I write a UDF. Definitely not good.
    This should be trivial.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedAug 21, '08 at 10:21p
activeAug 21, '08 at 11:25p
posts7
users1
websitepig.apache.org

1 user in discussion

Ted Dunning (JIRA): 7 posts

People

Translate

site design / logo © 2022 Grokbase