Indhumathi27 commented on a change in pull request #4140:
URL: https://github.com/apache/carbondata/pull/4140#discussion_r644722715



##########
File path: docs/addsegment-guide.md
##########
@@ -17,41 +17,41 @@
 
 # Heterogeneous format segments in carbondata
 
-###Background
+### Background
 In the industry, many users already adopted to data with different formats 
like ORC, Parquet, JSON, CSV etc.,  
 If users want to migrate to Carbondata for better performance or for better 
features then there is no direct way. 
 All the existing data needs to be converted to Carbondata to migrate.  
 This solution works out if the existing data is less, what if the existing 
data is more?   
 Heterogeneous format segments aims to solve this problem by avoiding data 
conversion.
 
-###Add segment with path and format
+### Add segment with path and format
 Users can add the existing data as a segment to the carbon table provided the 
schema of the data
  and the carbon table should be the same. 
 
 ```
-Alter table table_name add segment options (‘path’= 
'hdfs://usr/oldtable,'format'=parquet)
+alter table table_name add segment options ('path'= 
'hdfs://usr/oldtable','format'='parquet')
 ```
 In the above command user can add the existing data to the carbon table as a 
new segment and also
  can provide the data format.
 
 During add segment, it will infer the schema from data and validates the 
schema against the carbon table. 
 If the schema doesn’t match it throws an exception.
 
-###Changes to tablestatus file
-Carbon adds the new segment by adding segment information to tablestatus file. 
In order to add the path and format information to tablestatus, we are going to 
add `segmentPath`  and ‘format’  to the tablestatus file. 
+### Changes to tablestatus file
+Carbon adds the new segment by adding segment information to tablestatus file. 
In order to add the path and format information to tablestatus, we are going to 
add `segmentPath`  and format  to the tablestatus file. 

Review comment:
       ```suggestion
   Carbon adds the new segment by adding segment information to tablestatus 
file. In order to add the path and format information to tablestatus, we are 
going to add `segmentPath`  and `format`  to the tablestatus file. 
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to