Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36012

Lost the null flag info when show create table

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

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

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

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xiaopenglei PengLei
            xiaopenglei PengLei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment