calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-1191) Support parameter binding for PrepareAndExecute
Date Tue, 05 Apr 2016 23:07:25 GMT
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)

Mime
View raw message