Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1040#discussion_r122628873
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
 ---
    @@ -921,3 +923,28 @@ private[sql] case class CleanFiles(
         Seq.empty
       }
     }
    +
    +private[sql] case class ShowPartitions(tableIdentifier: TableIdentifier)
    +  extends RunnableCommand {
    +
    +  override val output: Seq[Attribute] = {
    +    AttributeReference("partition", StringType, nullable = false)() :: Nil
    +  }
    +
    +  def run(sqlContext: SQLContext): Seq[Row] = {
    --- End diff --
    
    It seems this command is implemented twice in spark and spark2, can you 
move it to spark-common module?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to