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

Bulk set column names in data preparation

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2.0
    • Component/s: UI
    • Labels:
    • Sprint:
      UP4 Sprint 1, UP4 Sprint 2
    • Release Notes:
      Added Bulk set: A column level directive as point and click feature to set column names in dataprep UI.
    • Rank:
      1|hzy0vi:o

      Description

      As a CDAP user, I want to rename all the columns in the data I'm transforming with simple, point and click interactions, so that I do not have to rename each column individually.

      Acceptance criteria:
      1. Discoverability: This can also be a button close to View Schema and Cleanse Column names. When a user clicks on it, he can either enter the column names individually (a modal which has existing names, and inputs for new names), or paste a bulk input (a comma separated list).
      2. In addition, a user should be allowed to click a row (in all likelihood the first row), and choose to set it as column names, at any point during his data preparation flow.
      3. Proper error messages should be shown if the input is invalid (contains lesser/more names than the number of columns)
      4. When set using the button and modal, invalid column names should not be allowed. The input should only accept a-z, A-Z, 0-9 and underscore. There should be a text that conveys the valid character set.

      Directive: https://github.com/hydrator/wrangler/blob/develop/docs/directives/set-columns.md

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ajai Ajai Narayan
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: