Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2436#discussion_r200896170
--- Diff:
integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/longstring/VarcharDataTypesBasicTestCase.scala
---
@@ -133,6 +133,64 @@ class VarcharDataTypesBasicTestCase extends QueryTest
with BeforeAndAfterEach wi
assert(exceptionCaught.getMessage.contains("its data type is not
string"))
}
+ test("long string columns cannot contain duplicate columns") {
+ val exceptionCaught = intercept[Exception] {
--- End diff --
please be more specific about the Exception, do not just intercept all
Exception
---