@@ -41,6 +41,7 @@ DESCRIBE t
4141-- !query 4 schema
4242struct<col_name:string,data_type:string,comment:string>
4343-- !query 4 output
44+ # col_name data_type comment
4445a string
4546b int
4647c string
5657-- !query 5 schema
5758struct<col_name:string,data_type:string,comment:string>
5859-- !query 5 output
60+ # col_name data_type comment
5961a string
6062b int
6163c string
@@ -71,6 +73,7 @@ DESC TABLE t
7173-- !query 6 schema
7274struct<col_name:string,data_type:string,comment:string>
7375-- !query 6 output
76+ # col_name data_type comment
7477a string
7578b int
7679c string
@@ -86,6 +89,7 @@ DESC FORMATTED t
8689-- !query 7 schema
8790struct<col_name:string,data_type:string,comment:string>
8891-- !query 7 output
92+ # col_name data_type comment
8993a string
9094b int
9195c string
@@ -96,30 +100,26 @@ c string
96100d string
97101
98102# Detailed Table Information
99- Table `default`.`t`
100- Created[removed by SQLQueryTestSuite]
101- Last Access[removed by SQLQueryTestSuite]
103+ Database default
104+ Table t
105+ Created [not included in comparison]
106+ Last Access [not included in comparison]
102107Type MANAGED
103108Provider parquet
104109Num Buckets 2
105110Bucket Columns [`a`]
106111Sort Columns [`b`]
107112Comment table_comment
108- Location[removed by SQLQueryTestSuite]sql/core/spark-warehouse/t
109- Partition Provider Catalog
110- Partition Columns [`c`, `d`]
111- Schema root
112- |-- a: string (nullable = true)
113- |-- b: integer (nullable = true)
114- |-- c: string (nullable = true)
115- |-- d: string (nullable = true)
113+ Location [not included in comparison]sql/core/spark-warehouse/t
114+ Partition Provider Catalog
116115
117116
118117-- !query 8
119118DESC EXTENDED t
120119-- !query 8 schema
121120struct<col_name:string,data_type:string,comment:string>
122121-- !query 8 output
122+ # col_name data_type comment
123123a string
124124b int
125125c string
@@ -130,30 +130,26 @@ c string
130130d string
131131
132132# Detailed Table Information
133- Table `default`.`t`
134- Created[removed by SQLQueryTestSuite]
135- Last Access[removed by SQLQueryTestSuite]
133+ Database default
134+ Table t
135+ Created [not included in comparison]
136+ Last Access [not included in comparison]
136137Type MANAGED
137138Provider parquet
138139Num Buckets 2
139140Bucket Columns [`a`]
140141Sort Columns [`b`]
141142Comment table_comment
142- Location[removed by SQLQueryTestSuite]sql/core/spark-warehouse/t
143- Partition Provider Catalog
144- Partition Columns [`c`, `d`]
145- Schema root
146- |-- a: string (nullable = true)
147- |-- b: integer (nullable = true)
148- |-- c: string (nullable = true)
149- |-- d: string (nullable = true)
143+ Location [not included in comparison]sql/core/spark-warehouse/t
144+ Partition Provider Catalog
150145
151146
152147-- !query 9
153148DESC t PARTITION (c='Us', d=1)
154149-- !query 9 schema
155150struct<col_name:string,data_type:string,comment:string>
156151-- !query 9 output
152+ # col_name data_type comment
157153a string
158154b int
159155c string
@@ -169,6 +165,7 @@ DESC EXTENDED t PARTITION (c='Us', d=1)
169165-- !query 10 schema
170166struct<col_name:string,data_type:string,comment:string>
171167-- !query 10 output
168+ # col_name data_type comment
172169a string
173170b int
174171c string
@@ -182,20 +179,21 @@ d string
182179Database default
183180Table t
184181Partition Values [c=Us, d=1]
185- Location[removed by SQLQueryTestSuite ]sql/core/spark-warehouse/t/c=Us/d=1
182+ Location [not included in comparison ]sql/core/spark-warehouse/t/c=Us/d=1
186183
187184# Table Storage Information
188185Num Buckets 2
189186Bucket Columns [`a`]
190187Sort Columns [`b`]
191- Location[removed by SQLQueryTestSuite ]sql/core/spark-warehouse/t
188+ Location [not included in comparison ]sql/core/spark-warehouse/t
192189
193190
194191-- !query 11
195192DESC FORMATTED t PARTITION (c='Us', d=1)
196193-- !query 11 schema
197194struct<col_name:string,data_type:string,comment:string>
198195-- !query 11 output
196+ # col_name data_type comment
199197a string
200198b int
201199c string
@@ -209,13 +207,13 @@ d string
209207Database default
210208Table t
211209Partition Values [c=Us, d=1]
212- Location[removed by SQLQueryTestSuite ]sql/core/spark-warehouse/t/c=Us/d=1
210+ Location [not included in comparison ]sql/core/spark-warehouse/t/c=Us/d=1
213211
214212# Table Storage Information
215213Num Buckets 2
216214Bucket Columns [`a`]
217215Sort Columns [`b`]
218- Location[removed by SQLQueryTestSuite ]sql/core/spark-warehouse/t
216+ Location [not included in comparison ]sql/core/spark-warehouse/t
219217
220218
221219-- !query 12
@@ -257,6 +255,7 @@ DESC temp_v
257255-- !query 15 schema
258256struct<col_name:string,data_type:string,comment:string>
259257-- !query 15 output
258+ # col_name data_type comment
260259a string
261260b int
262261c string
@@ -268,6 +267,7 @@ DESC TABLE temp_v
268267-- !query 16 schema
269268struct<col_name:string,data_type:string,comment:string>
270269-- !query 16 output
270+ # col_name data_type comment
271271a string
272272b int
273273c string
@@ -279,6 +279,7 @@ DESC FORMATTED temp_v
279279-- !query 17 schema
280280struct<col_name:string,data_type:string,comment:string>
281281-- !query 17 output
282+ # col_name data_type comment
282283a string
283284b int
284285c string
@@ -290,6 +291,7 @@ DESC EXTENDED temp_v
290291-- !query 18 schema
291292struct<col_name:string,data_type:string,comment:string>
292293-- !query 18 output
294+ # col_name data_type comment
293295a string
294296b int
295297c string
@@ -310,6 +312,7 @@ DESC v
310312-- !query 20 schema
311313struct<col_name:string,data_type:string,comment:string>
312314-- !query 20 output
315+ # col_name data_type comment
313316a string
314317b int
315318c string
@@ -321,6 +324,7 @@ DESC TABLE v
321324-- !query 21 schema
322325struct<col_name:string,data_type:string,comment:string>
323326-- !query 21 output
327+ # col_name data_type comment
324328a string
325329b int
326330c string
@@ -332,51 +336,45 @@ DESC FORMATTED v
332336-- !query 22 schema
333337struct<col_name:string,data_type:string,comment:string>
334338-- !query 22 output
339+ # col_name data_type comment
335340a string
336341b int
337342c string
338343d string
339344
340345# Detailed Table Information
341- Table `default`.`v`
342- Created[removed by SQLQueryTestSuite]
343- Last Access[removed by SQLQueryTestSuite]
346+ Database default
347+ Table v
348+ Created [not included in comparison]
349+ Last Access [not included in comparison]
344350Type VIEW
345351View Text SELECT * FROM t
346352View Default Database default
347353View Query Output Columns [a, b, c, d]
348- Properties [view.query.out.col.3=d, view.query.out.col.0=a, view.query.out.numCols=4, view.default.database=default, view.query.out.col.1=b, view.query.out.col.2=c]
349- Schema root
350- |-- a: string (nullable = true)
351- |-- b: integer (nullable = true)
352- |-- c: string (nullable = true)
353- |-- d: string (nullable = true)
354+ Properties [view.query.out.col.3=d, view.query.out.col.0=a, view.query.out.numCols=4, view.default.database=default, view.query.out.col.1=b, view.query.out.col.2=c]
354355
355356
356357-- !query 23
357358DESC EXTENDED v
358359-- !query 23 schema
359360struct<col_name:string,data_type:string,comment:string>
360361-- !query 23 output
362+ # col_name data_type comment
361363a string
362364b int
363365c string
364366d string
365367
366368# Detailed Table Information
367- Table `default`.`v`
368- Created[removed by SQLQueryTestSuite]
369- Last Access[removed by SQLQueryTestSuite]
369+ Database default
370+ Table v
371+ Created [not included in comparison]
372+ Last Access [not included in comparison]
370373Type VIEW
371374View Text SELECT * FROM t
372375View Default Database default
373376View Query Output Columns [a, b, c, d]
374- Properties [view.query.out.col.3=d, view.query.out.col.0=a, view.query.out.numCols=4, view.default.database=default, view.query.out.col.1=b, view.query.out.col.2=c]
375- Schema root
376- |-- a: string (nullable = true)
377- |-- b: integer (nullable = true)
378- |-- c: string (nullable = true)
379- |-- d: string (nullable = true)
377+ Properties [view.query.out.col.3=d, view.query.out.col.0=a, view.query.out.numCols=4, view.default.database=default, view.query.out.col.1=b, view.query.out.col.2=c]
380378
381379
382380-- !query 24
0 commit comments