akashrn5 commented on a change in pull request #3546: [CARBONDATA-3642] Add
column name in error msg when string length exceed 32000
URL: https://github.com/apache/carbondata/pull/3546#discussion_r363158667
##########
File path:
integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/longstring/VarcharDataTypesBasicTestCase.scala
##########
@@ -196,7 +196,7 @@ class VarcharDataTypesBasicTestCase extends QueryTest with
BeforeAndAfterEach wi
val e = intercept[Exception] {
sql(s""" insert into testlongstring select 1, 'abc', '$longChar'""")
}
- assert(e.getMessage.contains("Dataload failed, String length cannot exceed
32000 characters"))
+ assert(e.getMessage.contains("DataLoad failure: Column idx 2 too long"))
Review comment:
please add column name in error message than column index
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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