You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/09/10 09:05:00 UTC
[jira] [Assigned] (SPARK-49398) Cache Table with Parameter markers returns wrong error
[ https://issues.apache.org/jira/browse/SPARK-49398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot reassigned SPARK-49398:
--------------------------------------
Assignee: Apache Spark
> Cache Table with Parameter markers returns wrong error
> ------------------------------------------------------
>
> Key: SPARK-49398
> URL: https://issues.apache.org/jira/browse/SPARK-49398
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Mihailo Milosevic
> Assignee: Apache Spark
> Priority: Minor
> Labels: pull-request-available, starter
>
> When investigating the OSS structure of code it was found that `CacheTableAsSelect` when used with parameter markers in the select part of the query fails with `UNBOUND_SQL_PARAMETER` even though logically it should fail with `UNSUPPORTED_FEATURE.PARAMETER_MARKER_IN_UNEXPECTED_STATEMENT`. The reason for the second error is that `CacheTableAsSelect` creates a temporary view which should follow rules for parameter markers as views does.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org