You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (Jira)" <ji...@apache.org> on 2019/12/29 07:11:00 UTC

[jira] [Resolved] (SPARK-28449) Missing escape_string_warning and standard_conforming_strings config

     [ https://issues.apache.org/jira/browse/SPARK-28449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Takeshi Yamamuro resolved SPARK-28449.
--------------------------------------
    Resolution: Won't Fix

> Missing escape_string_warning and standard_conforming_strings config
> --------------------------------------------------------------------
>
>                 Key: SPARK-28449
>                 URL: https://issues.apache.org/jira/browse/SPARK-28449
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> When on, a warning is issued if a backslash ({{}}) appears in an ordinary string literal ({{'...'}} syntax) and {{standard_conforming_strings}} is off. The default is {{on}}.
> Applications that wish to use backslash as escape should be modified to use escape string syntax ({{E'...'}}), because the default behavior of ordinary strings is now to treat backslash as an ordinary character, per SQL standard. This variable can be enabled to help locate code that needs to be changed.
>  
> [https://www.postgresql.org/docs/11/runtime-config-compatible.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org