You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2019/04/08 06:11:00 UTC
[jira] [Created] (DRILL-7157) Wrap SchemaParsingException into
UserException when creating schema
Arina Ielchiieva created DRILL-7157:
---------------------------------------
Summary: Wrap SchemaParsingException into UserException when creating schema
Key: DRILL-7157
URL: https://issues.apache.org/jira/browse/DRILL-7157
Project: Apache Drill
Issue Type: Bug
Reporter: Arina Ielchiieva
Assignee: Arina Ielchiieva
Fix For: 1.16.0
When there is an error during schema parsing we should throw UserException but not system:
{noformat}
apache drill>create or replace schema (col iint) for table dfs.tmp.text_table;
Error: SYSTEM ERROR: SchemaParsingException: Line [1], position [5], offending symbol [@2,5:8='iint',<47>,1:5]: no viable alternative at input 'coliint'
Please, refer to logs for more information.
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)