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: Fix minor mistakes in documents
Date Thu, 11 May 2017 13:03:06 GMT
Repository: carbondata
Updated Branches:
  refs/heads/master cebeeed90 -> 6db1903be


Fix minor mistakes in documents

Fix minor mistakes in documents

Fix word misspelling

Remove redundant word

Fix incorrect word

Optimize property description

Gender information like 'HE' should not appear


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

Branch: refs/heads/master
Commit: 92578da39e94f55b2bb53e35c6df8be3128d9e8e
Parents: cebeeed
Author: RedCactus <xuchuanyin@126.com>
Authored: Thu May 11 20:29:53 2017 +0800
Committer: chenliang613 <chenliang613@huawei.com>
Committed: Thu May 11 21:02:09 2017 +0800

----------------------------------------------------------------------
 docs/data-management.md             | 2 +-
 docs/ddl-operation-on-carbondata.md | 8 ++++----
 docs/faq.md                         | 2 +-
 docs/installation-guide.md          | 2 +-
 docs/troubleshooting.md             | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/92578da3/docs/data-management.md
----------------------------------------------------------------------
diff --git a/docs/data-management.md b/docs/data-management.md
index 297251d..42411de 100644
--- a/docs/data-management.md
+++ b/docs/data-management.md
@@ -137,7 +137,7 @@ CLEAN FILES FOR TABLE table1
 |-----------------------------------------|---------|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|
 | carbon.compaction.level.threshold | 4, 3 | Minor | This property is for minor compaction
which decides how many segments to be merged. Example: If it is set as 2, 3 then minor compaction
will be triggered for every 2 segments. 3 is the number of level 1 compacted segment which
is further compacted to new segment. | NA |
 | carbon.major.compaction.size | 1024 MB | Major | Major compaction size can be configured
using this parameter. Sum of the segments which is below this threshold will be merged. |
NA |
-| carbon.numberof.preserve.segments | 0 | Minor/Major | If the user wants to preserve some
number of segments from being compacted then he can set this property. Example: carbon.numberof.preserve.segments=2
then 2 latest segments will always be excluded from the compaction. No segments will be preserved
by default. | 0-100 |
+| carbon.numberof.preserve.segments | 0 | Minor/Major | This property configures number of
segments to preserve from being compacted. Example: carbon.numberof.preserve.segments=2 then
2 latest segments will always be excluded from the compaction. No segments will be preserved
by default. | 0-100 |
 | carbon.allowed.compaction.days | 0 | Minor/Major | Compaction will merge the segments which
are loaded within the specific number of days configured. Example: If the configuration is
2, then the segments which are loaded in the time frame of 2 days only will get merged. Segments
which are loaded 2 days apart will not be merged. This is disabled by default. | 0-100 |
 | carbon.number.of.cores.while.compacting | 2 | Minor/Major | Number of cores which is used
to write data during compaction. | 0-100 |   
   

http://git-wip-us.apache.org/repos/asf/carbondata/blob/92578da3/docs/ddl-operation-on-carbondata.md
----------------------------------------------------------------------
diff --git a/docs/ddl-operation-on-carbondata.md b/docs/ddl-operation-on-carbondata.md
index 2983b8a..6222714 100644
--- a/docs/ddl-operation-on-carbondata.md
+++ b/docs/ddl-operation-on-carbondata.md
@@ -89,7 +89,7 @@ TBLPROPERTIES ('COLUMN_GROUPS'='(column1, column2),
 
    - **Inverted Index Configuration**
 
-      Inverted index is very useful to improve compression ratio and query speed, especially
for those low-cardinality columns who are in reward position.
+      Inverted index is very useful to improve compression ratio and query speed, especially
for those low-cardinality columns which are in reward position.
       By default inverted index is enabled. The user can disable the inverted index creation
for some columns.
 ```
        TBLPROPERTIES ('NO_INVERTED_INDEX'='column1, column3')
@@ -286,7 +286,7 @@ This command is used to change the data type from INT to BIGINT or decimal
preci
 - Change of decimal data type from lower precision to higher precision will only be supported
for cases where there is no data loss.
 
 #### Valid Scenarios
-- Invalid scenario - Change of decimal precision from (10,2) to (10,5) is not valid as in
this case only scale is increased but total number of digits remain the same.
+- Invalid scenario - Change of decimal precision from (10,2) to (10,5) is invalid as in this
case only scale is increased but total number of digits remains the same.
 
 - Valid scenario - Change of decimal precision from (10,2) to (12,3) is valid as the total
number of digits are increased by 2 but scale is increased only by 1 which will not lead to
any data loss.
 
@@ -353,7 +353,7 @@ ALTER TABLE table_name COMPACT 'MAJOR';
 
 Bucketing feature can be used to distribute/organize the table/partition data into multiple
files such
 that similar records are present in the same file. While creating a table, a user needs to
specify the
-columns to be used for bucketing and the number of buckets. For the selction of bucket the
Hash value
+columns to be used for bucketing and the number of buckets. For the selection of bucket the
Hash value
 of columns is used.
 
 ```
@@ -380,7 +380,7 @@ of columns is used.
 - Columns in the BUCKETCOLUMN parameter must be only dimension. The BUCKETCOLUMN parameter
can not be a measure or a combination of measures and dimensions.
 
 
-### Example :
+### Example:
 
 ```
  CREATE TABLE IF NOT EXISTS productSchema.productSalesTable (

http://git-wip-us.apache.org/repos/asf/carbondata/blob/92578da3/docs/faq.md
----------------------------------------------------------------------
diff --git a/docs/faq.md b/docs/faq.md
index 3b22260..cae4f97 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -127,6 +127,6 @@ INSERT INTO TABLE carbon_table SELECT id, city FROM source_table;
 ```
 **Scenario 3** :
 
-When the column type in carbon table is different from from the column specified in select
statement. The insert operation will still success, but you may get NULL in result, because
NULL will be substitute value when conversion type failed.
+When the column type in carbon table is different from the column specified in select statement.
The insert operation will still success, but you may get NULL in result, because NULL will
be substitute value when conversion type failed.
 
 

http://git-wip-us.apache.org/repos/asf/carbondata/blob/92578da3/docs/installation-guide.md
----------------------------------------------------------------------
diff --git a/docs/installation-guide.md b/docs/installation-guide.md
index a693f81..f4ca656 100644
--- a/docs/installation-guide.md
+++ b/docs/installation-guide.md
@@ -180,7 +180,7 @@ hdfs://<host_name>:port/user/hive/warehouse/carbon.store
 
 ```
      cd $SPARK_HOME
-     ./bin/beeline jdbc:hive2://<thrftserver_host>:port
+     ./bin/beeline jdbc:hive2://<thriftserver_host>:port
 
      Example
      ./bin/beeline jdbc:hive2://10.10.10.10:10000

http://git-wip-us.apache.org/repos/asf/carbondata/blob/92578da3/docs/troubleshooting.md
----------------------------------------------------------------------
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index c9d2095..27ec8e3 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -132,7 +132,7 @@ who are building, deploying, and using CarbonData.
 
   Ensure that the Hiveuser in mysql must allow its access to the external processes.
 
-## Failure to read the metastore db during table creation.
+## Failed to read the metastore db during table creation.
 
   **Symptom**
 


Mime
View raw message