Neeraja created DRILL-2862:
------------------------------
Summary: Convert_to/Convert_From throw assertion when an incorrect
encoding type is specified
Key: DRILL-2862
URL: https://issues.apache.org/jira/browse/DRILL-2862
Project: Apache Drill
Issue Type: Bug
Components: Execution - Data Types
Reporter: Neeraja
Assignee: Daniel Barclay (Drill)
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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)