Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11977

Add point and click interaction for replacing patterns in column names

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: UI
    • Labels:
    • Sprint:
      UP5 Sprint 2
    • Release Notes:
      UI: Add replace pattern column bulk action point and click
    • Rank:
      1|hzy13a:a1

      Description

      As a user, I would like to replace a commonly occurring pattern in my column names with another pattern, so that I can quickly replace all prefixes that may have been generated by default in column names.

      1. Add an option in the column actions dropdown - Replace Column Name Patterns
      2. It opens a modal - Replace Patterns in Column Names
      3. Radio buttons:
      3.1. Remove prefix. Field: Prefix to remove
      use columns-replace s/^prefix//g
      3.2 Remove suffix: Field: Suffix to remove
      use columns-replace s/suffix$//g
      3.3 Custom pattern:
      Field 1: Replace: Placeholder: e.g. ^body_, work_
      Field 2: With: Leave empty to remove pattern, else add a regex replacement pattern
      Also add an Ignore Case checkbox. The pattern becomes s/.../.../Ig
      4. Buttons: Replace, Cancel

        Attachments

          Activity

            People

            • Assignee:
              edwin Edwin Elia
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: