|
1 | 1 | -- Automatically generated by SQLQueryTestSuite |
2 | | --- Number of queries: 9 |
| 2 | +-- Number of queries: 7 |
3 | 3 |
|
4 | 4 |
|
5 | 5 | -- !query 0 |
@@ -49,75 +49,30 @@ d string |
49 | 49 |
|
50 | 50 |
|
51 | 51 | -- !query 4 |
52 | | -DESC EXTENDED t PARTITION (c='Us', d=1) |
53 | | --- !query 4 schema |
54 | | -struct<col_name:string,data_type:string,comment:string> |
55 | | --- !query 4 output |
56 | | -# Partition Information |
57 | | -# col_name data_type comment |
58 | | -Detailed Partition Information CatalogPartition( |
59 | | - Partition Values: [Us, 1] |
60 | | - Storage(InputFormat: org.apache.hadoop.mapred.TextInputFormat, OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat) |
61 | | - Partition Parameters:{}) |
62 | | -a string |
63 | | -b int |
64 | | -c string |
65 | | -c string |
66 | | -d string |
67 | | -d string |
68 | | - |
69 | | - |
70 | | --- !query 5 |
71 | | -DESC FORMATTED t PARTITION (c='Us', d=1) |
72 | | --- !query 5 schema |
73 | | -struct<col_name:string,data_type:string,comment:string> |
74 | | --- !query 5 output |
75 | | -# Detailed Partition Information |
76 | | -# Partition Information |
77 | | -# Storage Information |
78 | | -# col_name data_type comment |
79 | | -Compressed: No |
80 | | -Database: default |
81 | | -InputFormat: org.apache.hadoop.mapred.TextInputFormat |
82 | | -Location: |
83 | | -OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat |
84 | | -Partition Parameters: |
85 | | -Partition Value: [Us, 1] |
86 | | -Storage Desc Parameters: |
87 | | -Table: t |
88 | | -a string |
89 | | -b int |
90 | | -c string |
91 | | -c string |
92 | | -d string |
93 | | -d string |
94 | | - |
95 | | - |
96 | | --- !query 6 |
97 | 52 | DESC t PARTITION (c='Us', d=2) |
98 | | --- !query 6 schema |
| 53 | +-- !query 4 schema |
99 | 54 | struct<> |
100 | | --- !query 6 output |
| 55 | +-- !query 4 output |
101 | 56 | org.apache.spark.sql.catalyst.analysis.NoSuchPartitionException |
102 | 57 | Partition not found in table 't' database 'default': |
103 | 58 | c -> Us |
104 | 59 | d -> 2; |
105 | 60 |
|
106 | 61 |
|
107 | | --- !query 7 |
| 62 | +-- !query 5 |
108 | 63 | DESC t PARTITION (c='Us') |
109 | | --- !query 7 schema |
| 64 | +-- !query 5 schema |
110 | 65 | struct<> |
111 | | --- !query 7 output |
| 66 | +-- !query 5 output |
112 | 67 | org.apache.spark.sql.AnalysisException |
113 | 68 | Partition spec is invalid. The spec (c) must match the partition spec (c, d) defined in table '`default`.`t`'; |
114 | 69 |
|
115 | 70 |
|
116 | | --- !query 8 |
| 71 | +-- !query 6 |
117 | 72 | DESC t PARTITION (c='Us', d) |
118 | | --- !query 8 schema |
| 73 | +-- !query 6 schema |
119 | 74 | struct<> |
120 | | --- !query 8 output |
| 75 | +-- !query 6 output |
121 | 76 | org.apache.spark.sql.catalyst.parser.ParseException |
122 | 77 |
|
123 | 78 | Unsupported SQL statement |
|
0 commit comments