You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhang Jianguo (Jira)" <ji...@apache.org> on 2021/01/20 09:12:00 UTC

[jira] [Commented] (SPARK-34177) DESC command returns wrong data type

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

Zhang Jianguo commented on SPARK-34177:
---------------------------------------

Not clear if it also affect 2.4.5 version.

I'll retest it on Spark2.4.5 and report later.

> DESC command returns wrong data type
> ------------------------------------
>
>                 Key: SPARK-34177
>                 URL: https://issues.apache.org/jira/browse/SPARK-34177
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.2
>            Reporter: Zhang Jianguo
>            Priority: Minor
>
> The data type of col_02 is assigned as varchar(256), but desc returns wrong type string.
> create table test_data_type(col_01 bigint, col_02 *{color:#de350b}varchar(256){color}*);
> desc test_data_type;
> | col_01 | bigint | NULL |
> | col_02 | *{color:#de350b}string{color}* | NULL |



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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