|
1 | 1 | -- Automatically generated by SQLQueryTestSuite |
2 | | --- Number of queries: 7 |
| 2 | +-- Number of queries: 9 |
3 | 3 |
|
4 | 4 |
|
5 | 5 | -- !query 0 |
@@ -49,30 +49,75 @@ d string |
49 | 49 |
|
50 | 50 |
|
51 | 51 | -- !query 4 |
52 | | -DESC t PARTITION (c='Us', d=2) |
| 52 | +DESC EXTENDED t PARTITION (c='Us', d=1) |
53 | 53 | -- !query 4 schema |
54 | | -struct<> |
| 54 | +struct<col_name:string,data_type:string,comment:string> |
55 | 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 | +DESC t PARTITION (c='Us', d=2) |
| 98 | +-- !query 6 schema |
| 99 | +struct<> |
| 100 | +-- !query 6 output |
56 | 101 | org.apache.spark.sql.catalyst.analysis.NoSuchPartitionException |
57 | 102 | Partition not found in table 't' database 'default': |
58 | 103 | c -> Us |
59 | 104 | d -> 2; |
60 | 105 |
|
61 | 106 |
|
62 | | --- !query 5 |
| 107 | +-- !query 7 |
63 | 108 | DESC t PARTITION (c='Us') |
64 | | --- !query 5 schema |
| 109 | +-- !query 7 schema |
65 | 110 | struct<> |
66 | | --- !query 5 output |
| 111 | +-- !query 7 output |
67 | 112 | org.apache.spark.sql.AnalysisException |
68 | 113 | Partition spec is invalid. The spec (c) must match the partition spec (c, d) defined in table '`default`.`t`'; |
69 | 114 |
|
70 | 115 |
|
71 | | --- !query 6 |
| 116 | +-- !query 8 |
72 | 117 | DESC t PARTITION (c='Us', d) |
73 | | --- !query 6 schema |
| 118 | +-- !query 8 schema |
74 | 119 | struct<> |
75 | | --- !query 6 output |
| 120 | +-- !query 8 output |
76 | 121 | org.apache.spark.sql.catalyst.parser.ParseException |
77 | 122 |
|
78 | 123 | Unsupported SQL statement |
|
0 commit comments