carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lionelcao <...@git.apache.org>
Subject [GitHub] carbondata pull request #1317: [CARBONDATA-1316] drop partition
Date Wed, 13 Sep 2017 17:51:01 GMT
Github user lionelcao commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1317#discussion_r138692030
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
---
    @@ -320,7 +322,143 @@ case class AlterTableSplitPartitionCommand(splitPartitionModel:
AlterTableSplitP
       }
     }
     
    -case class CreateTable(cm: TableModel, createDSTable: Boolean = true) extends RunnableCommand
    +case class AlterTableDropPartition(alterTableDropPartitionModel: AlterTableDropPartitionModel)
    +  extends RunnableCommand with DataProcessCommand with SchemaProcessCommand {
    +  val LOGGER = LogServiceFactory.getLogService(this.getClass.getName)
    --- End diff --
    
    The variables could only get from sparkSession and both processSchema and processData
will use those variables.


---

Mime
View raw message