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

 ##########
 File path: 
streaming/src/main/java/org/apache/carbondata/streaming/CarbonStreamRecordWriter.java
 ##########
 @@ -188,7 +190,7 @@ private void initializeAtFirstRow() throws IOException {
       compressorName = 
carbonTable.getTableInfo().getFactTable().getTableProperties().get(
           CarbonCommonConstants.COMPRESSOR);
       if (null == compressorName) {
-        compressorName = 
CompressorFactory.getInstance().getCompressor().getName();
+        compressorName = 
CompressorFactory.NativeSupportedCompressor.SNAPPY.getName();
 
 Review comment:
   ok, please add a TODO

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to