Skip to content

Commit

Permalink
apacheGH-37720: [Java][FlightSQL] Implement stateless prepared statem…
Browse files Browse the repository at this point in the history
…ents

PR update
  • Loading branch information
stevelorddremio committed Mar 19, 2024
1 parent 2ed9f22 commit cfee739
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,9 @@ public FlightInfo execute(final CallOption... options) {
.build())
.toByteArray());

if (parameterBindingRoot != null && parameterBindingRoot.getRowCount() > 0) {
if (getParameterSchema().getFields().size() > 0 &&
parameterBindingRoot != null &&
parameterBindingRoot.getRowCount() > 0) {
SyncPutListener putListener = putParameters(descriptor, options);

try {
Expand Down

0 comments on commit cfee739

Please sign in to comment.