ajantha-bhat commented on a change in pull request #3921:
URL: https://github.com/apache/carbondata/pull/3921#discussion_r488454458



##########
File path: 
processing/src/main/java/org/apache/carbondata/processing/loading/converter/impl/RowConverterImpl.java
##########
@@ -119,10 +118,6 @@ public CarbonRow convert(CarbonRow row) throws 
CarbonDataLoadingException {
             .getTableProperties();
     String spatialProperty = 
properties.get(CarbonCommonConstants.SPATIAL_INDEX);
     boolean isSpatialColumn = false;
-    Object[] rawData = row.getRawData();
-    if (rawData == null) {
-      rawData = row.getData() == null ? null : row.getData().clone();

Review comment:
       Please revert back this change, somecases rawData will not be set, hence 
they are setting here before converting the row. 
   Now your current code will use null instead of row.getData().clone() in this 
scenario.




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


Reply via email to