[ https://issues.apache.org/jira/browse/SPARK-43009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-43009. ---------------------------------- Fix Version/s: 3.4.0 Resolution: Fixed Issue resolved by pull request 40666 [https://github.com/apache/spark/pull/40666] > Parameterized sql() with constants > ---------------------------------- > > Key: SPARK-43009 > URL: https://issues.apache.org/jira/browse/SPARK-43009 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.4.0 > Reporter: Max Gekk > Assignee: Max Gekk > Priority: Blocker > Fix For: 3.4.0 > > > Change Scala/Java/Python APIs to accept any language objects from which would > be possible to construct literal columns. > The current implementation the parameterized sql() requires arguments as > string values parsed to SQL literal expressions that causes the following > issues: > * SQL comments are skipped while parsing, so, some fragments of input might > be skipped. For example, 'Europe -- Amsterdam'. In this case, -- Amsterdam is > excluded from the input. > * Special chars in string values must be escaped, for instance 'E\'Twaun > Moore' -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org