You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ra...@apache.org on 2017/04/18 12:03:45 UTC

[09/50] incubator-carbondata git commit: CARBONDATA-880 Path is getting printed in the explain extended DDL. this should not get printed. so overriding the toString method.

CARBONDATA-880
Path is getting printed in the explain extended DDL. this should not get printed. so overriding the toString method.


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

Branch: refs/heads/branch-1.1
Commit: 591f9f692cd2e7561e315dae60bf0c482ae46a01
Parents: aea9ed6
Author: ravikiran <ra...@gmail.com>
Authored: Thu Apr 6 18:30:39 2017 +0530
Committer: ravipesala <ra...@gmail.com>
Committed: Wed Apr 12 13:55:01 2017 +0530

----------------------------------------------------------------------
 .../org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/591f9f69/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala
----------------------------------------------------------------------
diff --git a/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala b/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala
index b9e8682..322e1ae 100644
--- a/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala
+++ b/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala
@@ -74,4 +74,9 @@ case class CarbonDatasourceHadoopRelation(
   }
   override def unhandledFilters(filters: Array[Filter]): Array[Filter] = new Array[Filter](0)
 
+  override def toString: String = {
+    "CarbonDatasourceHadoopRelation [ " + "Database name :" + carbonTable.getDatabaseName +
+    ", " + "Table name :" + carbonTable.getFactTableName + ", Schema :" + tableSchema + " ]"
+  }
+
 }