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

    https://github.com/apache/carbondata/pull/1304#discussion_r136243668
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
 ---
    @@ -774,8 +774,8 @@ case class LoadTable(
             GlobalDictionaryUtil.updateTableMetadataFunc = 
LoadTable.updateTableMetadata
             val storePath = relation.tableMeta.storePath
             // add the start entry for the new load in the table status file
    -        CommonUtil.
    -          readAndUpdateLoadProgressInTableMeta(carbonLoadModel, storePath, 
isOverwriteTable)
    +        CommonUtil.readAndUpdateLoadProgressInTableMeta(carbonLoadModel, 
storePath,
    --- End diff --
    
    Here we can add if check like below
    ```
    if (!updateModel.isDefined) {
    CommonUtil.readAndUpdateLoadProgressInTableMeta(carbonLoadModel, storePath, 
isOverwriteTable)
    }
    ```


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