You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Francis Chuang (JIRA)" <ji...@apache.org> on 2016/04/06 01:07:25 UTC

[jira] [Created] (CALCITE-1191) Support parameter binding for PrepareAndExecute

Francis Chuang created CALCITE-1191:
---------------------------------------

             Summary: Support parameter binding for PrepareAndExecute
                 Key: CALCITE-1191
                 URL: https://issues.apache.org/jira/browse/CALCITE-1191
             Project: Calcite
          Issue Type: Improvement
          Components: avatica
    Affects Versions: avatica-1.7.1
            Reporter: Francis Chuang


I am currently working on a golang sql driver for avatica. There are a few implementable interfaces that allows short cutting by preparing and executing a statement in one request.

For example, the Execer interface: https://golang.org/pkg/database/sql/driver/#Execer

Currently, I am unable to use PrepareAndExecute to implement this short-cut as it doesn't accept any bound parameters.

It would be extremely useful if PrepareAndExecute supports bound parameters so that we don't have to make multiple trips to the server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)