Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1321#discussion_r138832604
--- Diff:
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
---
@@ -874,6 +884,8 @@ private[sql] case class DescribeCommandFormatted(
results ++= Seq(("CARBON Store Path: ", relation.tableMeta.storePath,
""))
val carbonTable = relation.tableMeta.carbonTable
results ++= Seq(("Table Block Size : ", carbonTable.getBlockSizeInMB +
" MB", ""))
+ results ++= Seq(("SORT_SCOPE", carbonTable.getTableInfo.getFactTable
+ .getTableProperties.getOrDefault("sort_scope", ""), ""))
--- End diff --
Should give a default sort_scope instead of ""
---