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

    https://github.com/apache/carbondata/pull/1694#discussion_r158931027
  
    --- Diff: 
integration/spark-common/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchemaCommon.scala
 ---
    @@ -492,11 +502,12 @@ class TableNewProcessor(cm: TableModel) {
           val sortField = cm.sortKeyDims.get.find(field.column equals _)
           if (sortField.isEmpty) {
             val encoders = if (cm.parentTable.isDefined &&
    -                           cm.dataMapRelation.get.get(field).isDefined) {
    +                           cm.dataMapRelation.get.get(field).isDefined &&
    +                           
cm.dataMapRelation.get.get(field).get.columnTableRelationList.size==1) {
    --- End diff --
    
    add space before and after =


---

Reply via email to