Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14482

[C++][Gandiva] Implement MASK_FIRST_N and MASK_LAST_N functions

    XMLWordPrintableJSON

Details

    Description

      MASK_FIRST_N

      Returns a masked version of str with the first n values masked. Upper case letters are converted to "X", lower case letters are converted to "x" and numbers are converted to "n". For example, mask_first_n("1234-5678-8765-4321", 4) results in nnnn-5678-8765-4321.

      MASK_LAST_N

      Returns a masked version of str with the last n values masked. Upper case letters are converted to "X", lower case letters are converted to "x" and numbers are converted to "n". For example, mask_last_n("1234-5678-8765-4321", 4) results in 1234-5678-8765-nnnn.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              augustoasilva Augusto Alves Silva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10h
                  10h