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

Point and click interaction for changing data type of a column

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 5.0.0
    • Component/s: UI
    • Labels:
      None
    • Sprint:
      5.0 12/11
    • Release Notes:
      Added a point-and-click interaction to change the data type of a column in the Data Preparation UI
    • Rank:
      1|hzy0rc:0iruw

      Description

      User Story

      As a user, I would like to change the data type of a column using a simple point and click interaction, so that I can have this commonly used operation available without having to remember the syntax of the command and type it in in the power mode.

      Placement

      Directive dropdown. In group 2, after "Set Character Encoding".
      Name of menu item: *Change Data Type*

      Submenu

      A list of data types:

      1. String: set-type :column String
      2. Boolean: set-type :column boolean
      3. Integer: set-type :column integer
      4. Long: set-type :column long
      5. Short: set-type :column short
      6. Float: set-type :column float
      7. Double: set-type :column double
      8. Bytes: set-type :column bytes

      Acceptance Criteria

      1. For String columns, String submenu should be disabled, for Integer, Integer submenu should be disabled, and so on.
      2. If an operation fails, an appropriate error should be shown
      3. When changing the type succeeds, there should be a success indicator (the new type should turn green for 2 seconds)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: