[ https://issues.apache.org/jira/browse/KUDU-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603658#comment-17603658 ]
ASF subversion and git services commented on KUDU-3379: ------------------------------------------------------- Commit bbf82c14e6aedb5adc84ddfbc2b1600e21493b98 in kudu's branch refs/heads/master from Marton Greber [ https://gitbox.apache.org/repos/asf?p=kudu.git;h=bbf82c14e ] KUDU-3379 Add column comments to table describe This patch adds -show_column_comment flag to the 'kudu table describe' CLI tool. If there are column comments specified, this can be used to show them. Schema and ColumnSchema use the ToStringMode enum to control how they are stringified. Previously these were used to signal a single mode of the stringification. Now both are populated through bit shifting. This way the enum can be used as a holder of multiple binary flags. We can check for the presence of a flag through 'bitwise and' operator, and set a given flag through the 'bitwise or' operator. A new test case is added to check whether the column describing flags work, alone and together as well. Change-Id: Id8b751bd821a5f50490caa6f1aaf1fc767de0222 Reviewed-on: http://gerrit.cloudera.org:8080/18903 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <ale...@apache.org> > Make 'kudu table describe' output column comments > ------------------------------------------------- > > Key: KUDU-3379 > URL: https://issues.apache.org/jira/browse/KUDU-3379 > Project: Kudu > Issue Type: Improvement > Components: CLI > Reporter: Alexey Serbin > Assignee: Marton Greber > Priority: Major > Labels: newbie > > Right now {{kudu table describe}} displays table comment (if any), but > doesn't show column comments. > It would be great to make the CLI tool to show comments for all table's > columns as well. Probably, that should be enabled only if > {{\-\-show_column_comment}} is specified. -- This message was sent by Atlassian Jira (v8.20.10#820010)