QiangCai commented on a change in pull request #3898:
URL: https://github.com/apache/carbondata/pull/3898#discussion_r479598589
##########
File path:
integration/spark/src/main/scala/org/apache/spark/sql/parser/CarbonSpark2SqlParser.scala
##########
@@ -693,7 +693,7 @@ class CarbonSpark2SqlParser extends CarbonDDLSqlParser {
var columnComment: String = ""
var plainComment: String = ""
if (col.getComment().isDefined) {
- columnComment = " comment \"" + col.getComment().get + "\""
+ columnComment = " comment '" + col.getComment().get + "'"
Review comment:
Double quotes will lead column comments to be null in some spark
versions.
----------------------------------------------------------------
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]