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 2017/06/27 06:42:00 UTC

[jira] [Updated] (SPARK-20965) Support PREPARE and EXECUTE statements

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

Takeshi Yamamuro updated SPARK-20965:
-------------------------------------
    Description: https://github.com/apache/spark/compare/master...maropu:SPARK-20965#diff-06e7b9d9e1afd7aca1a3b2cd18561953R63  (was: Parameterized queries might help for some users, so we might support PREPRE and EXECUTE statements by referring the ANSI/SQL standard (e.g., it is some useful for users who frequently use the same queries)

{code}
PREPARE sqlstmt (int) AS SELECT * FROM t WEHERE id = $1;
EXECUTE sqlstmt(1);
{code}

One of implementation references: https://www.postgresql.org/docs/current/static/sql-prepare.html)

> Support PREPARE and EXECUTE statements
> --------------------------------------
>
>                 Key: SPARK-20965
>                 URL: https://issues.apache.org/jira/browse/SPARK-20965
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.1
>            Reporter: Takeshi Yamamuro
>            Priority: Minor
>
> https://github.com/apache/spark/compare/master...maropu:SPARK-20965#diff-06e7b9d9e1afd7aca1a3b2cd18561953R63



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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