Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When there is an error during schema parsing we should throw UserException but not system:
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'
After changes exception will be the following:
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)
Attachments
Issue Links
- links to