Github user manishgupta88 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/161#discussion_r79282917
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/carbondata/spark/rdd/Compactor.scala
 ---
    @@ -69,7 +69,9 @@ object Compactor {
           schemaName,
           factTableName,
           validSegments,
    -      
carbonTable.getAbsoluteTableIdentifier.getCarbonTableIdentifier.getTableId
    +      
carbonTable.getAbsoluteTableIdentifier.getCarbonTableIdentifier.getTableId,
    +      colCardinality = Array[Int](0),
    --- End diff --
    
    Instead of creating an empty list and reassigning it you can create a 
reference of Array[Int] type like
    var colCardinality: Array[Int] = null


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to