Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1587#discussion_r153789066
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/schema/CarbonGetTableDetailCommand.scala
---
@@ -31,12 +31,12 @@ import org.apache.carbondata.core.util.CarbonProperties
*/
case class CarbonGetTableDetailCommand(
databaseName: String,
- tableNames: Seq[String])
+ tableNames: Option[Seq[String]])
extends DataCommand {
override def processData(sparkSession: SparkSession): Seq[Row] = {
val storePath = CarbonProperties.getStorePath
- tableNames.map { tablename =>
+ tableNames.get.map { tablename =>
--- End diff --
use isDefined
---