You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by jackylk <gi...@git.apache.org> on 2018/07/09 06:57:51 UTC
[GitHub] carbondata pull request #2436: [CARBONDATA-2682][32K] fix create table with ...
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
---