srielau commented on code in PR #52638:
URL: https://github.com/apache/spark/pull/52638#discussion_r2438012397
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala:
##########
@@ -3645,15 +3646,14 @@ class AstBuilder extends DataTypeAstBuilder
* converted into "helloworld".
*
* Special characters can be escaped by using Hive/C-style escaping.
+ *
+ * Note: With the modified stringLit grammar rule, visitStringLit now
returns a Token
+ * that already represents the coalesced value of multiple literals.
*/
private def createString(ctx: StringLiteralContext): String = {
- if (conf.escapedStringLiterals) {
- ctx.stringLit.asScala.map(x =>
stringWithoutUnescape(visitStringLit(x))).mkString
- } else if (conf.getConf(LEGACY_CONSECUTIVE_STRING_LITERALS)) {
Review Comment:
Its not, working on 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]