You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "PengLei (Jira)" <ji...@apache.org> on 2021/07/05 05:17:00 UTC

[jira] [Updated] (SPARK-36012) Lost the null flag info when show create table in both v1 and v2

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

PengLei updated SPARK-36012:
----------------------------
    Description: 
When execute `SHOW CREATE TALBE XXX` command, the ddl info lost the null flag.

```scala

def toDDL: String = s"${quoteIdentifier(name)} ${dataType.sql}$getDDLComment"

```

  was:
When execute `SHOW CREATE TALBE XXX` command, the ddl info lost the null flag.

```

def toDDL: String = s"${quoteIdentifier(name)} ${dataType.sql}$getDDLComment"

```


> Lost the null flag info when show create table in both v1 and v2
> ----------------------------------------------------------------
>
>                 Key: SPARK-36012
>                 URL: https://issues.apache.org/jira/browse/SPARK-36012
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: PengLei
>            Priority: Major
>             Fix For: 3.2.0
>
>
> When execute `SHOW CREATE TALBE XXX` command, the ddl info lost the null flag.
> ```scala
> def toDDL: String = s"${quoteIdentifier(name)} ${dataType.sql}$getDDLComment"
> ```



--
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