cloud-fan commented on a change in pull request #32563:
URL: https://github.com/apache/spark/pull/32563#discussion_r640455199
##########
File path: sql/core/src/test/resources/sql-tests/results/show-tables.sql.out
##########
@@ -120,46 +120,37 @@ show_t3
-- !query
SHOW TABLE EXTENDED LIKE 'show_t*'
-- !query schema
-struct<namespace:string,tableName:string,isTemporary:boolean,information:string>
+struct<namespace:string,tableName:string,isTemporary:boolean,information:map<string,string>>
-- !query output
- show_t3 true Table: show_t3
+Database:showdb
+Table:show_t1
Created Time [not included in comparison]
Last Access [not included in comparison]
Created By [not included in comparison]
-Type: VIEW
-Table Properties: []
-Schema: root
- |-- e: integer (nullable = true)
-
+Type:MANAGED
+Provider:parquet
+Location [not included in comparison]/{warehouse_dir}/showdb.db/show_t1
+Partition Provider:Catalog
+Partition Columns:[`c`, `d`]
+Schema:struct<a:string,b:int,c:string,d:string>
-showdb show_t1 false Database: showdb
-Table: show_t1
+Database:showdb
+Table:show_t2
Created Time [not included in comparison]
Last Access [not included in comparison]
Created By [not included in comparison]
-Type: MANAGED
-Provider: parquet
-Location [not included in comparison]/{warehouse_dir}/showdb.db/show_t1
-Partition Provider: Catalog
-Partition Columns: [`c`, `d`]
-Schema: root
- |-- a: string (nullable = true)
- |-- b: integer (nullable = true)
- |-- c: string (nullable = true)
- |-- d: string (nullable = true)
-
+Type:MANAGED
+Provider:parquet
+Location [not included in comparison]/{warehouse_dir}/showdb.db/show_t2
+Schema:struct<b:string,d:int>
-showdb show_t2 false Database: showdb
-Table: show_t2
+Table:show_t3
Created Time [not included in comparison]
Last Access [not included in comparison]
Created By [not included in comparison]
-Type: MANAGED
-Provider: parquet
-Location [not included in comparison]/{warehouse_dir}/showdb.db/show_t2
-Schema: root
- |-- b: string (nullable = true)
Review comment:
can we check other databases and see how they indicate nullable columns?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]