[GitHub] [carbondata] maheshrajus commented on a change in pull request #4138: [CARBONDATA-4189] alter table validation issues
Posted by
GitBox on
May 20, 2021; 7:03pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-maheshrajus-opened-a-new-pull-request-4138-CARBONDATA-4189-alter-table-validation-s-tp108243p108330.html
maheshrajus commented on a change in pull request #4138:
URL:
https://github.com/apache/carbondata/pull/4138#discussion_r636392970##########
File path: integration/spark/src/main/scala/org/apache/spark/util/AlterTableUtil.scala
##########
@@ -911,8 +911,12 @@ object AlterTableUtil {
" does not exist in table. Please check the DDL."
throw new MalformedCarbonCommandException(errorMsg)
} else if (colSchemas.exists(x => x.getColumnName.equalsIgnoreCase(col) &&
- !x.getDataType.toString
- .equalsIgnoreCase("STRING"))) {
+ x.isComplexColumn)) {
+ val errMsg = "Complex child column " + col + " cannot be set as LONG_STRING_COLUMNS"
Review comment:
done
--
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:
[hidden email]