You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/10/08 19:22:02 UTC

[jira] [Updated] (IMPALA-7679) Improve error message and add test for creating table with NULL column

     [ https://issues.apache.org/jira/browse/IMPALA-7679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong updated IMPALA-7679:
----------------------------------
    Labels: newbie ramp-up  (was: )

> Improve error message and add test for creating table with NULL column
> ----------------------------------------------------------------------
>
>                 Key: IMPALA-7679
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7679
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 2.12.0
>            Reporter: Tim Armstrong
>            Priority: Major
>              Labels: newbie, ramp-up
>
> [~alanj_impala_5a78] reports that the error message was a little confusing here:
> {noformat}
> [localhost:21000] default> create table test_null_field as select null as null_field;
> Query: create table test_null_field as select null as null_field
> Query submitted at: 2018-10-08 12:18:40 (Coordinator: http://tarmstrong-box:25000)
> ERROR: AnalysisException: Unsupported type 'null_type' in column 'null_field' of table 'test_null_field'
> CAUSED BY: TableLoadingException: Unsupported type 'null_type' in column 'null_field' of table 'test_null_field'
> {noformat}
> I grepped the code and it doesn't look like we actually have a targeted test, so we should add the coverage too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org