Indhumathi27 commented on a change in pull request #3612: [CARBONDATA-3694] Separate Materialized View command from DataMap command URL: https://github.com/apache/carbondata/pull/3612#discussion_r379999285
########## File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/datamap/CarbonCreateDataMapCommand.scala ########## @@ -106,7 +106,8 @@ case class CarbonCreateDataMapCommand( .exists(_.getDataMapName.equalsIgnoreCase(dataMapSchema.getDataMapName))) { if (!ifNotExistsSet) { throw new MalformedDataMapCommandException( - "DataMap with name " + dataMapSchema.getDataMapName + " already exists in storage") + "Materialized view with name " + dataMapSchema.getDataMapName + Review comment: Since you have added a command to create mv, is this check in createdatamap is required? ---------------------------------------------------------------- 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 With regards, Apache Git Services