carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akashrn5 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1432: [CARBONDATA-1608]Support Column Comment for C...
Date Thu, 16 Nov 2017 08:29:00 GMT
Github user akashrn5 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1432#discussion_r151345870
  
    --- 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 --
    
    verified, it is in sync with hive, if comment is not there, by default it will be null


---

Mime
View raw message