ravipesala commented on a change in pull request #3102: [CARBONDATA-3272]fix
ArrayIndexOutOfBoundsException of horizontal compaction during update, when
cardinality changes within a segment
URL: https://github.com/apache/carbondata/pull/3102#discussion_r251293878
##########
File path:
integration/spark-datasource/src/test/scala/org/apache/spark/sql/carbondata/datasource/SparkCarbonDataSourceTest.scala
##########
@@ -76,6 +76,12 @@ class SparkCarbonDataSourceTest extends FunSuite with
BeforeAndAfterAll {
spark.sql("drop table if exists testformat")
}
+ test("test alter") {
+// spark.sql("create table t1(name string, age int) using carbon")
+// spark.sql("insert into t1 select 'abc',4")
+ spark.sql("alter table t1 add columns(add string)")
Review comment:
What is the purpose of this testcase in this PR? Please remove the commented
code and do the assert check whether it achieves expected result or not.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services