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

Unable to specify CTRL-A as a delimiter for the PigStorage function

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      Description

      A PIG command like -

      store abc into 'abc' using PigStorage('\x01');

      does not recognize hat the user is requesting the data to by ^A separated. Instead the data that is stored is literally separated by the string '\x01'.

      Neither does punching in ^A directly through the editor, nor do any other strings like \u0001 help.
      Using a ^A directly through the editor complains about it being an invalid XML character and bails out.

        Attachments

        1. TEST-org.apache.pig.test.TestStore.txt
          212 kB
          Olga Natkovich
        2. PIG-85_v4.patch
          0.9 kB
          Olga Natkovich
        3. PIG_85_v3.patch
          5 kB
          Pi Song
        4. PIG_85_v2.patch
          2 kB
          Pi Song
        5. PIG_85_escaping_parameters.patch
          2 kB
          Pi Song

          Activity

            People

            • Assignee:
              pi_song Pi Song
              Reporter:
              anandm Anand Murugappan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: