ajantha-bhat commented on a change in pull request #4139:
URL: https://github.com/apache/carbondata/pull/4139#discussion_r638485028
##########
File path:
integration/spark/src/main/scala/org/apache/spark/sql/parser/CarbonSpark2SqlParser.scala
##########
@@ -377,7 +399,12 @@ class CarbonSpark2SqlParser extends CarbonDDLSqlParser {
protected lazy val element: Parser[String] =
(ident <~ ".").? ~ ident ^^ {
- case table ~ column => column.toLowerCase
+ case table ~ column =>
+ if (table.isDefined) {
+ table.get + "." + column.toLowerCase
Review comment:
No need to convert `table.get` to lowercase ? you can modify the
testcase to have the mixedCase and check it.
--
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]