Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3304

improve org.apache.drill.exec.expr.TypeHelper error messages when UnsupportedOprationException is thrown

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Execution - Data Types
    • Labels:
      None

      Description

      TypeHelper contains several helper methods that take as parameter a MajorType. When the received type is incorrect, most helper methods will throw an UnsupportedOperationException with an empty message.

      The purpose of this Jira is to add proper messages to the thrown exceptions.

        Attachments

        1. DRILL-3304.1.patch.txt
          8 kB
          Abdel Hakim Deneche
        2. DRILL-3304.2.patch.txt
          9 kB
          Abdel Hakim Deneche

          Activity

            People

            • Assignee:
              adeneche Abdel Hakim Deneche
              Reporter:
              adeneche Abdel Hakim Deneche
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: