Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1476#discussion_r149908793
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/schema/AlterTableAddColumnCommand.scala
---
@@ -59,6 +59,14 @@ private[sql] case class AlterTableAddColumnCommand(
carbonTable = metastore
.lookupRelation(Some(dbName),
tableName)(sparkSession).asInstanceOf[CarbonRelation]
.tableMeta.carbonTable
+ if (carbonTable.isPreAggregateTable) {
--- End diff --
We can allow alter add column operations
---