Takeshi Yamamuro created SPARK-20965:
----------------------------------------

             Summary: 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


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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to