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

Amanda Liu updated SPARK-51525:
-------------------------------
    Description: 
Before:

{"table_name":"table","catalog_name":"spark_catalog","namespace":["ns"],"schema_name":"ns","columns":[{"name":"c1","type":

{"name":"string collate 
UNICODE_CI"},"nullable":true},\{"name":"id","type":{"name":"int"},"nullable":true}],"location":"file:/Users/amanda.liu/Documents/Databricks/spark/sql/core/spark-warehouse/org.apache.spark.sql.execution.command.v1.DescribeTableSuite/ns.db/table","created_time":"2025-03-17T00:59:13Z","last_access":"UNKNOWN","created_by":"Spark
 
4.1.0-SNAPSHOT","type":"MANAGED","provider":"parquet","comment":"table_comment","table_properties":\{"parquet.encryption":"true"}}

 

After:

{"table_name":"table","catalog_name":"spark_catalog","namespace":["ns"],"schema_name":"ns","columns":[{"name":"c1","type":

{"name":"string", 
"collation":"UNICODE_CI"},"nullable":true},\{"name":"id","type":{"name":"int"},"nullable":true}],"location":"file:/Users/amanda.liu/Documents/Databricks/spark/sql/core/spark-warehouse/org.apache.spark.sql.execution.command.v1.DescribeTableSuite/ns.db/table","created_time":"2025-03-17T00:59:13Z","last_access":"UNKNOWN","created_by":"Spark
 
4.1.0-SNAPSHOT","type":"MANAGED","provider":"parquet","comment":"table_comment","table_properties":\{"parquet.encryption":"true"}}

  was:
Before:

{"table_name":"table","catalog_name":"spark_catalog","namespace":["ns"],"schema_name":"ns","columns":[\{"name":"c1","type":{"name":"string
 collate 
UNICODE_CI"},"nullable":true},\{"name":"id","type":{"name":"int"},"nullable":true}],"location":"file:/Users/amanda.liu/Documents/Databricks/spark/sql/core/spark-warehouse/org.apache.spark.sql.execution.command.v1.DescribeTableSuite/ns.db/table","created_time":"2025-03-17T00:59:13Z","last_access":"UNKNOWN","created_by":"Spark
 
4.1.0-SNAPSHOT","type":"MANAGED","provider":"parquet","comment":"table_comment","table_properties":\{"parquet.encryption":"true"}}

 

After:

{"table_name":"table","catalog_name":"spark_catalog","namespace":["ns"],"schema_name":"ns","columns":[\{"name":"c1","type":{"name":"string",
 
"collation":"UNICODE_CI"},"nullable":true},\{"name":"id","type":{"name":"int"},"nullable":true}],"location":"file:/Users/amanda.liu/Documents/Databricks/spark/sql/core/spark-warehouse/org.apache.spark.sql.execution.command.v1.DescribeTableSuite/ns.db/table","created_time":"2025-03-17T00:59:13Z","last_access":"UNKNOWN","created_by":"Spark
 
4.1.0-SNAPSHOT","type":"MANAGED","provider":"parquet","comment":"table_comment","table_properties":\{"parquet.encryption":"true"}}


> Add collation field in Desc As JSON type
> ----------------------------------------
>
>                 Key: SPARK-51525
>                 URL: https://issues.apache.org/jira/browse/SPARK-51525
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Amanda Liu
>            Priority: Major
>
> Before:
> {"table_name":"table","catalog_name":"spark_catalog","namespace":["ns"],"schema_name":"ns","columns":[{"name":"c1","type":
> {"name":"string collate 
> UNICODE_CI"},"nullable":true},\{"name":"id","type":{"name":"int"},"nullable":true}],"location":"file:/Users/amanda.liu/Documents/Databricks/spark/sql/core/spark-warehouse/org.apache.spark.sql.execution.command.v1.DescribeTableSuite/ns.db/table","created_time":"2025-03-17T00:59:13Z","last_access":"UNKNOWN","created_by":"Spark
>  
> 4.1.0-SNAPSHOT","type":"MANAGED","provider":"parquet","comment":"table_comment","table_properties":\{"parquet.encryption":"true"}}
>  
> After:
> {"table_name":"table","catalog_name":"spark_catalog","namespace":["ns"],"schema_name":"ns","columns":[{"name":"c1","type":
> {"name":"string", 
> "collation":"UNICODE_CI"},"nullable":true},\{"name":"id","type":{"name":"int"},"nullable":true}],"location":"file:/Users/amanda.liu/Documents/Databricks/spark/sql/core/spark-warehouse/org.apache.spark.sql.execution.command.v1.DescribeTableSuite/ns.db/table","created_time":"2025-03-17T00:59:13Z","last_access":"UNKNOWN","created_by":"Spark
>  
> 4.1.0-SNAPSHOT","type":"MANAGED","provider":"parquet","comment":"table_comment","table_properties":\{"parquet.encryption":"true"}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to