Github user gvramana commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/641#discussion_r106091632 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/parser/CarbonSpark2SqlParser.scala --- @@ -129,4 +134,80 @@ class CarbonSpark2SqlParser extends CarbonDDLSqlParser { case databaseName ~ tableName ~ limit => ShowLoadsCommand(convertDbNameToLowerCase(databaseName), tableName.toLowerCase(), limit) } + + protected lazy val alterTableModifyDataType: Parser[LogicalPlan] = + ALTER ~> TABLE ~> (ident <~ ".").? ~ ident ~ CHANGE ~ ident ~ ident ~ + ident ~ opt("(" ~> rep1sep(valueOptions, ",") <~ ")") <~ opt(";") ^^ { --- End diff -- Use datatype rule of existing parser rules, I think rule name is PrimitiveType.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---