tanishq-chugh commented on code in PR #6472:
URL: https://github.com/apache/hive/pull/6472#discussion_r3236155657
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableOperation.java:
##########
@@ -91,7 +91,13 @@ public int execute() throws Exception {
if (desc.isFormatted()) {
getColumnDataColPathSpecified(table, part, cols, colStats,
deserializer);
} else {
- cols.addAll(Hive.getFieldsFromDeserializer(desc.getColumnPath(),
deserializer, context.getConf()));
+ String colName = desc.getColumnPath().split("\\.")[2];
Review Comment:
Yes, the issue is occurring for non-formatted Describe query for partition
column:
```
PREHOOK: query: DESCRIBE tbl_part name
PREHOOK: type: DESCTABLE
PREHOOK: Input: default@tbl_part
FAILED: Execution Error, return code 40000 from
org.apache.hadoop.hive.ql.ddl.DDLTask. cannot find field name from [0:id,
1:point]
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]