Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-804

problem with lineage with double map redirection

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • None
    • None
    • Reviewed

    Description

      v1 = load 'data' as (s,m,l);
      v2 = foreach v1 GENERATE
      s#'src_spaceid' AS vspaceid ;
      v3 = foreach v2 GENERATE
      (chararray)vspaceid#'foo';
      explain v3;

      The last cast does not have a loader associated with it and as the result the script fails on the backend with the following error: "Received a bytearray from the UDF. Cannot determine how to convert the bytearray to string."

      Attachments

        1. PIG-804.patch
          4 kB
          Pradeep Kamath

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pkamath Pradeep Kamath
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment