Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1469#discussion_r153062707
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/parser/CarbonSparkSqlParser.scala
---
@@ -184,10 +126,86 @@ class CarbonSqlAstBuilder(conf: SQLConf) extends
SparkSqlAstBuilder(conf) {
}
}
- private def needToConvertToLowerCase(key: String): Boolean = {
- val noConvertList = Array("LIST_INFO", "RANGE_INFO")
- !noConvertList.exists(x => x.equalsIgnoreCase(key));
+ def getPropertyKeyValues(ctx: TablePropertyListContext): Map[String,
String]
+ = {
+ Option(ctx).map(visitPropertyKeyValues)
+ .getOrElse(Map.empty)
}
+ def createCarbontable(tableHeader: CreateTableHeaderContext,
--- End diff --
Typo correct the name to `createCarbontable`
---