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

Extract Regex Groups should throw appropriate errors when applied on non-string data

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.1
    • Component/s: Data Prep, UI
    • Labels:
    • Sprint:
      4.3.1 09/18
    • Rank:
      1|hzy0rc:0qzzyh

      Description

      Currently, when you apply the extract-regex-groups directive on non-string data types, there is no feedback to users. It seems as if the directive got applied, but it does not produce any results.

      It seems like this happened in my case because it was applied on a column of type JSONArray. This should be fixed in two ways:
      1. The point and click interaction for this directive should be disabled in the UI for non-String columns
      2. If a user tries to apply it using the power mode, a proper error should be thrown, along with a call to action on what the user should do next.

        Attachments

          Activity

            People

            • Assignee:
              tbach Tony Bach
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: