You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ja...@apache.org on 2017/05/08 09:48:19 UTC

[07/14] incubator-carbondata git commit: change partitioning in comments to partition_type

change partitioning in comments to partition_type


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

Branch: refs/heads/12-dev
Commit: 74a83155476a6d0273ade8441eb58f85981a5b6c
Parents: 3e7c230
Author: lionelcao <wh...@gmail.com>
Authored: Fri May 5 02:05:31 2017 +0800
Committer: lionelcao <wh...@gmail.com>
Committed: Fri May 5 02:05:31 2017 +0800

----------------------------------------------------------------------
 .../scala/org/apache/carbondata/spark/util/CommonUtil.scala  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/74a83155/integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
----------------------------------------------------------------------
diff --git a/integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala b/integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
index 301159e..918106b 100644
--- a/integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
+++ b/integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
@@ -146,10 +146,10 @@ object CommonUtil {
   }
 
   /**
-   * 1. If partition by clause exists, then partitioning should be defined
-   * 2. If partitioning is Hash, then partitioncount should be defined
-   * 3. If partitioning is List, then value list should be defined
-   * 4. If partitioning is Range, then boundary value list should be defined
+   * 1. If partitioned by clause exists, then partition_type should be defined
+   * 2. If partition_type is Hash, then hash_number should be defined
+   * 3. If partition_type is List, then list_info should be defined
+   * 4. If partition_type is Range, then range_info should be defined
    * 5. Only support single level partition for now
    * @param tableProperties
    * @param partitionCols