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

Pig currently lacks functions to trim the whitespace only on one side

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.12.0
    • internal-udfs
    • LTRIM and RTRIM are new built-in UDFs that trim the whitespace of a string on the left and right hand side respectively.

    Description

      Pig currently lacks function to trim the whitespace only on the left hand side of a given word
      ltrim(' lorem ') = 'lorem '

      Attachments

        1. PIG-3182.patch
          5 kB
          Kousuke Saruta
        2. PIG-3182.patch
          13 kB
          Kousuke Saruta
        3. PIG-3182.patch
          14 kB
          Kousuke Saruta
        4. LTrim.java.patch
          3 kB
          Padma Ravindran

        Activity

          People

            sarutak Kousuke Saruta
            477786 Padma Ravindran
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: