You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you cannot pass grpc.CallOptions to Execute/ExecuteUpdate/Close on flightsql.PreparedStatement objects. We should allow passing call options so that they can get propagated, rather than just copying the call options which were used for the Prepare and just propagating those.
Component(s)
Go
The text was updated successfully, but these errors were encountered:
…Statement methods (#33868)
### Rationale for this change
To allow propagating timeouts among other call options when using PreparedStatements with FlightSQL we need to update the function signatures to allow passing the call options to them.
### Are there any user-facing changes?
The signatures for the methods on PreparedStatement objects have been updated to accept `opts... grpc.CallOption` as their last parameter. This shouldn't break any existing usage of the methods (since they are optional) but would cause a problem if consumers set up interfaces based on them.
* Closes: #33867
Authored-by: Matt Topol <zotthewizard@gmail.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
…eparedStatement methods (apache#33868)
### Rationale for this change
To allow propagating timeouts among other call options when using PreparedStatements with FlightSQL we need to update the function signatures to allow passing the call options to them.
### Are there any user-facing changes?
The signatures for the methods on PreparedStatement objects have been updated to accept `opts... grpc.CallOption` as their last parameter. This shouldn't break any existing usage of the methods (since they are optional) but would cause a problem if consumers set up interfaces based on them.
* Closes: apache#33867
Authored-by: Matt Topol <zotthewizard@gmail.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
…eparedStatement methods (apache#33868)
### Rationale for this change
To allow propagating timeouts among other call options when using PreparedStatements with FlightSQL we need to update the function signatures to allow passing the call options to them.
### Are there any user-facing changes?
The signatures for the methods on PreparedStatement objects have been updated to accept `opts... grpc.CallOption` as their last parameter. This shouldn't break any existing usage of the methods (since they are optional) but would cause a problem if consumers set up interfaces based on them.
* Closes: apache#33867
Authored-by: Matt Topol <zotthewizard@gmail.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Describe the enhancement requested
Currently you cannot pass
grpc.CallOption
s to Execute/ExecuteUpdate/Close onflightsql.PreparedStatement
objects. We should allow passing call options so that they can get propagated, rather than just copying the call options which were used for thePrepare
and just propagating those.Component(s)
Go
The text was updated successfully, but these errors were encountered: