Github user akashrn5 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2113#discussion_r181439768
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonEnv.scala ---
@@ -173,6 +174,10 @@ object CarbonEnv {
.addListener(classOf[AlterTableDropPartitionPostStatusEvent],
AlterTableDropPartitionPostStatusListener)
.addListener(classOf[AlterTableDropPartitionMetaEvent],
AlterTableDropPartitionMetaListener)
+ .addListener(classOf[AlterTableRenamePreEvent],
LuceneRenameTablePreListener)
--- End diff --
this listener class is added to block alter operation on lucene datamap, if
we are blocking alter operation for all the datamaps, then this may not be
required.
---