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)

Reply via email to