Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14855#discussion_r76725105
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala ---
    @@ -791,11 +791,22 @@ case class ShowCreateTableCommand(table: 
TableIdentifier) extends RunnableComman
         }
       }
     
    +  // These table properties should not be included in the output statement 
of SHOW CREATE TABLE
    +  val excludedTableProperties = Set(
    +    // The following are hive-generated statistics fields
    +    "COLUMN_STATS_ACCURATE",
    +    "numFiles",
    +    "numPartitions",
    +    "numRows",
    +    "rawDataSize",
    +    "totalSize"
    +  )
    --- End diff --
    
    This PR is for fixing a bug. We might need to backport to 2.0. When we 
implementing the translation layer, we can do that, just like what we did for 
the property names of the Data Source Table schema


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to