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

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

    [ https://issues.apache.org/jira/browse/CALCITE-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228834#comment-15228834 ] 

Julian Hyde commented on CALCITE-1191:
--------------------------------------

Makes sense.

> 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)