carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1189: [CARBONDATA-1322] Insert overwrite support an...
Date Thu, 20 Jul 2017 11:09:06 GMT
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1189#discussion_r128486494
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
---
    @@ -485,8 +487,8 @@ case class LoadTable(
         }
     
         val dbName = databaseNameOp.getOrElse(sparkSession.catalog.currentDatabase)
    -    if (isOverwriteExist) {
    -      sys.error(s"Overwrite is not supported for carbon table with $dbName.$tableName")
    +    if (isOverwriteTable) {
    +      LOGGER.info(s"Overwrite of carbon table with $dbName.$tableName is in progress")
    --- End diff --
    
    should first check whether there is overwrite on going, then do this log


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message