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

Convert_to/Convert_From throw assertion when an incorrect encoding type is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Execution - Data Types
    • None

    Description

      Below is the error from SQLLine. Replacing UTF-8 to UTF8 works fine.
      The error message need to accurately represent the problem.

      0: jdbc:drill:> select Convert_from(t.address.state,'UTF-8') from customers t limit 10;
      Query failed: AssertionError:

      Error: exception while executing query: Failure while executing query. (state=,code=0)

      Attachments

        1. DRILL-2862.3.patch.txt
          12 kB
          Parth Chandra

        Issue Links

          Activity

            People

              parthc Parth Chandra
              Neeraja Neeraja
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: