Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/22255
  
    It seems to cause some inconsistency if we choose one of 
`org.apache.spark.sql.create.version` or `spark.sql.create.version` as a key?
    
    1) If we choose `spark.sql.create.version` as a key, in Parquet, it will 
look like the following.
    ```
    extra:       spark.sql.create.version = 3.0.0-SNAPSHOT
    extra:       org.apache.spark.sql.parquet.row.metadata = 
{"type":"struct","fields":[{"name":"id","type":"long","nullable":false,"metadata":{}}]}
    ```
    
    2) If we choose `org.apache.spark.sql.create.version`, it's different from 
Hive table property.
    
    I'll ignore the consistency of (2) for backward compatibility.


---

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

Reply via email to