ShreelekhyaG opened a new pull request #4113:
URL: https://github.com/apache/carbondata/pull/4113
### Why is this PR needed?
Currently describe formatted displays the column information of a table and
some additional information. When complex types such as ARRAY, STRUCT, and MAP
types are present in the table, column definition can be long and it’s
difficult to read in a nested format.
### What changes were proposed in this PR?
For complex types available, the DESCRIBE output can be formatted to avoid
long lines for multiple fields. We can pass the complex field name to the
command and visualize its structure as if were a table.
DDL Commands:
```
DESCRIBE COLUMN fieldname ON [db_name.]table_name;
DESCRIBE short [db_name.]table_name;
```
### Does this PR introduce any user interface change?
- Yes
### Is any new testcase added?
- Yes
--
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]