carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1587: [CARBONDATA-1835] Fix null exception when get...
Date Wed, 29 Nov 2017 13:41:16 GMT
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


---

Mime
View raw message