carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang...@apache.org
Subject [1/2] carbondata git commit: resolved bug for able to load data with byte type from dataframe in carbon table
Date Tue, 09 May 2017 07:17:09 GMT
Repository: carbondata
Updated Branches:
  refs/heads/master c677c5b25 -> 2c1265ddb


resolved bug for able to load data with byte type from dataframe in carbon table


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

Branch: refs/heads/master
Commit: f05c63419b2b3322394e915d6229ea7eb7a2f257
Parents: c677c5b
Author: anubhav100 <anubhav.tarar@knoldus.in>
Authored: Fri May 5 17:31:43 2017 +0530
Committer: chenliang613 <chenliang613@huawei.com>
Committed: Tue May 9 15:16:10 2017 +0800

----------------------------------------------------------------------
 .../scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala   | 1 -
 .../src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/f05c6341/integration/spark/src/main/scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala
b/integration/spark/src/main/scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala
index 0e2e4dd..917e2ed 100644
--- a/integration/spark/src/main/scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala
+++ b/integration/spark/src/main/scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala
@@ -161,7 +161,6 @@ class CarbonDataFrameWriter(val dataFrame: DataFrame) {
     sparkType match {
       case StringType => CarbonType.STRING.getName
       case IntegerType => CarbonType.INT.getName
-      case ByteType => CarbonType.INT.getName
       case ShortType => CarbonType.SHORT.getName
       case LongType => CarbonType.LONG.getName
       case FloatType => CarbonType.DOUBLE.getName

http://git-wip-us.apache.org/repos/asf/carbondata/blob/f05c6341/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala
----------------------------------------------------------------------
diff --git a/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala
b/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala
index 465fad0..4de644a 100644
--- a/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala
+++ b/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDataFrameWriter.scala
@@ -145,7 +145,6 @@ class CarbonDataFrameWriter(sqlContext: SQLContext, val dataFrame: DataFrame)
{
     sparkType match {
       case StringType => CarbonType.STRING.getName
       case IntegerType => CarbonType.INT.getName
-      case ByteType => CarbonType.INT.getName
       case ShortType => CarbonType.SHORT.getName
       case LongType => CarbonType.LONG.getName
       case FloatType => CarbonType.DOUBLE.getName


Mime
View raw message