carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [1/2] incubator-carbondata git commit: [CARBONDATA-568][Follow-Up] clean up code for carbon-core module
Date Wed, 04 Jan 2017 16:31:54 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 2ad623dcb -> f8ef805e9


[CARBONDATA-568][Follow-Up] clean up code for carbon-core module

using "new java.util.LinkedHashSet" instead of "new util.LinkedHashSet"


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

Branch: refs/heads/master
Commit: 109d3833b5e9fd4ed9c2f231145c149be71903a5
Parents: 2ad623d
Author: Zhang Zhichao <441586683@qq.com>
Authored: Thu Jan 5 00:03:41 2017 +0800
Committer: Zhang Zhichao <441586683@qq.com>
Committed: Thu Jan 5 00:03:41 2017 +0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/CarbonDatasourceRelation.scala | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/109d3833/integration/spark/src/main/scala/org/apache/spark/sql/CarbonDatasourceRelation.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/spark/sql/CarbonDatasourceRelation.scala
b/integration/spark/src/main/scala/org/apache/spark/sql/CarbonDatasourceRelation.scala
index 2091598..6cbc517 100644
--- a/integration/spark/src/main/scala/org/apache/spark/sql/CarbonDatasourceRelation.scala
+++ b/integration/spark/src/main/scala/org/apache/spark/sql/CarbonDatasourceRelation.scala
@@ -17,9 +17,6 @@
 
 package org.apache.spark.sql
 
-import java.util
-import java.util.LinkedHashSet
-
 import scala.collection.JavaConverters._
 import scala.language.implicitConversions
 
@@ -204,7 +201,7 @@ case class CarbonRelation(
   }
 
   val dimensionsAttr = {
-    val sett = new util.LinkedHashSet(
+    val sett = new java.util.LinkedHashSet(
       tableMeta.carbonTable.getDimensionByTableName(tableMeta.carbonTableIdentifier.getTableName)
           .asScala.asJava)
     sett.asScala.toSeq.filter(!_.getColumnSchema.isInvisible).map(dim => {
@@ -230,7 +227,7 @@ case class CarbonRelation(
 
   val measureAttr = {
     val factTable = tableMeta.carbonTable.getFactTableName
-    new util.LinkedHashSet(
+    new java.util.LinkedHashSet(
       tableMeta.carbonTable.
           getMeasureByTableName(tableMeta.carbonTable.getFactTableName).
           asScala.asJava).asScala.toSeq.filter(!_.getColumnSchema.isInvisible)


Mime
View raw message