Github user XiaotaoYi commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/3052#discussion_r245512840
--- Diff:
integration/spark-common/src/main/scala/org/apache/spark/sql/catalyst/CarbonDDLSqlParser.scala
---
@@ -668,9 +668,9 @@ abstract class CarbonDDLSqlParser extends
AbstractCarbonSparkSQLParser {
tableProperties(CarbonCommonConstants.NO_INVERTED_INDEX).split(',').map(_.trim)
noInvertedIdxColsProps.foreach { noInvertedIdxColProp =>
if (!fields.exists(x =>
x.column.equalsIgnoreCase(noInvertedIdxColProp))) {
- val errormsg = "NO_INVERTED_INDEX column: " +
noInvertedIdxColProp +
+ val errorMsg = "NO_INVERTED_INDEX column: " +
noInvertedIdxColProp +
" does not exist in table. Please check create
table statement."
--- End diff --
See commit 2
---