ajantha-bhat commented on a change in pull request #3606: [CARBONDATA-3688] Add 
compressor name in data file name
URL: https://github.com/apache/carbondata/pull/3606#discussion_r382961552
 
 

 ##########
 File path: 
streaming/src/main/java/org/apache/carbondata/streaming/CarbonStreamRecordWriter.java
 ##########
 @@ -139,7 +139,9 @@ private void initialize(TaskAttemptContext job) throws 
IOException {
 
     segmentDir = CarbonTablePath.getSegmentPath(
         carbonTable.getAbsoluteTableIdentifier().getTablePath(), segmentId);
-    fileName = CarbonTablePath.getCarbonDataFileName(0, taskNo + "", 0, 0, 
"0", segmentId);
+    fileName = CarbonTablePath.getCarbonDataFileName(
+        0, taskNo + "", 0, 0, "0",
+        segmentId, 
CompressorFactory.NativeSupportedCompressor.SNAPPY.getName());
 
 Review comment:
   revert this or use CCC default compressor

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to