carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipes...@apache.org
Subject [19/47] incubator-carbondata git commit: [CARBONDATA-103][Bug] Rename CreateCube to CreateTable to correct the audit log of create table command (#865)
Date Mon, 01 Aug 2016 10:05:17 GMT
[CARBONDATA-103][Bug] Rename CreateCube to CreateTable to correct the audit log of create table
command (#865)



Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/bb8b0fdc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/bb8b0fdc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/bb8b0fdc

Branch: refs/heads/master
Commit: bb8b0fdce1db0d0a2d00e7c9b9969635ed3c1b50
Parents: 8289525
Author: Mohammad Shahid Khan <mohdshahidkhan1987@gmail.com>
Authored: Mon Jul 25 14:47:42 2016 +0530
Committer: Venkata Ramana G <g.ramana.v1@gmail.com>
Committed: Mon Jul 25 14:47:42 2016 +0530

----------------------------------------------------------------------
 .../src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala      | 2 +-
 .../org/apache/spark/sql/execution/command/carbonTableSchema.scala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/bb8b0fdc/integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala b/integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala
index 4fd5f14..79471a9 100644
--- a/integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala
+++ b/integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala
@@ -435,7 +435,7 @@ class CarbonSqlParser()
         tableProperties)
 
         // get logical plan.
-        CreateCube(tableModel)
+        CreateTable(tableModel)
 
     }
   }

http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/bb8b0fdc/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
b/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
index 0278a68..30c022e 100644
--- a/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
+++ b/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
@@ -1254,7 +1254,7 @@ private[sql] case class AlterTableCompaction(alterTableModel: AlterTableModel)
e
   }
 }
 
-private[sql] case class CreateCube(cm: tableModel) extends RunnableCommand {
+private[sql] case class CreateTable(cm: tableModel) extends RunnableCommand {
 
   def run(sqlContext: SQLContext): Seq[Row] = {
     val LOGGER = LogServiceFactory.getLogService(this.getClass.getCanonicalName)


Mime
View raw message