Posted by
GitBox on
Apr 06, 2021; 5:30am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-ShreelekhyaG-opened-a-new-pull-request-4113-WIP-Describe-complex-columns-tp107265p107384.html
Indhumathi27 commented on a change in pull request #4113:
URL:
https://github.com/apache/carbondata/pull/4113#discussion_r607518121##########
File path: docs/ddl-of-carbondata.md
##########
@@ -646,6 +647,28 @@ CarbonData DDL statements are documented here,which includes:
## TABLE MANAGEMENT
+### DESCRIBE COMMAND
+
+Describe column of table and visualize its structure with child fields.
+ ```
+ DESCRIBE COLUMN fieldname[.nestedFieldNames] ON [db_name.]table_name;
+
+ Example: DESCRIBE COLUMN channelsId ON carbonTable;
+ +----------------------------+---------+-------+
+ |col_name |data_type|comment|
+ +----------------------------+---------+-------+
+ |channelsId |map |null |
+ |## Children of channelsId: | | |
+ |key |string |null |
+ |value |string |null |
+ +----------------------------+---------+-------+
+ ```
+
+This command is used to display short version of table columns.
Review comment:
```suggestion
This command is used to display short version of table complex columns.
```
--
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:
[hidden email]