[ 
https://issues.apache.org/jira/browse/DRILL-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760827#comment-13760827
 ] 

Timothy Chen commented on DRILL-215:
------------------------------------

I wonder if we can return Unknown type and let the JDBC driver return a nicer 
message saying that field is not found?


                
> When selecting an unknown column, the data should be returned as null as 
> opposed to throwing an exception
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-215
>                 URL: https://issues.apache.org/jira/browse/DRILL-215
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Timothy Chen
>
> Running the following query in sqlline:
> select _MAP['NON_EXISTENT_COLUMN'] from "sample-data/nation.parquet";
> Throws an exception.  It should simply return nulls for each record in the 
> table.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to