Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/15398
  
    > My question is more fundamental, why are SQL strings escaped in the first 
place? Should it not be up to the frontend language to escape such strings? 
I.e. scala/java/python should handle replacing things such as \n with the 
newline or replacing unicode sequences with their corresponding symbols.
    
    Based on my understanding, the escape behavior/definition in SQL is 
different from the frontend language. That is why we need to call 
`unescapeSQLString` on the string literals. Let us discuss f2f how to handle 
the case tomorrow. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to