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