You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/08 07:35:00 UTC
[jira] [Commented] (DRILL-7157) Wrap SchemaParsingException into
UserException when creating schema
[ https://issues.apache.org/jira/browse/DRILL-7157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812184#comment-16812184 ]
ASF GitHub Bot commented on DRILL-7157:
---------------------------------------
arina-ielchiieva commented on pull request #1740: DRILL-7157: Wrap SchemaParsingException into UserException when creating schema
URL: https://github.com/apache/drill/pull/1740
Jira - [DRILL-7157](https://issues.apache.org/jira/browse/DRILL-7157)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> 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
> Priority: Major
> 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}
> After changes exception will be the following:
> {noformat}
> apache drill> create or replace schema (col iint) for table dfs.tmp.text_table;
> Error: PARSE ERROR: Line [1], position [5], offending symbol [@2,5:8='iint',<47>,1:5]: no viable alternative at input 'coliint'
> Schema: (col iint)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)