You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2024/01/18 14:30:00 UTC
[jira] [Resolved] (SPARK-46629) SHOW CREATE TABLE shows incomplete information for STRUCT type fields.
[ https://issues.apache.org/jira/browse/SPARK-46629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-46629.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 44644
[https://github.com/apache/spark/pull/44644]
> SHOW CREATE TABLE shows incomplete information for STRUCT type fields.
> ----------------------------------------------------------------------
>
> Key: SPARK-46629
> URL: https://issues.apache.org/jira/browse/SPARK-46629
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Vitalii Li
> Assignee: Vitalii Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> `SHOW CREATE TABLE` does not return struct fields `NOT NULL` qualifiers as well as comments.
> E.g.
> ```
> CREATE TABLE test(a STRUCT<b: INT NOT NULL, c: STRING COMMENT 'comment'>);
> SHOW CREATE TABLE test;
> ```
> Result:
> ```
> CREATE TABLE test(a STRUCT<b: INT, c: STRING)
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org