Github user gvramana commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1432#discussion_r150863854
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/CarbonDescribeFormattedCommand.scala
---
@@ -65,6 +65,7 @@ private[sql] case class CarbonDescribeFormattedCommand(
val dims = relation.metaData.dims.map(x => x.toLowerCase)
var results: Seq[(String, String, String)] = child.schema.fields.map {
field =>
val fieldName = field.name.toLowerCase
+ val colComment = field.getComment().getOrElse("null")
--- End diff --
Also needs to make sure that "desc table" also works. As spark/Hive
supports accordingly, need to make it consistant
---