Conversation
sachinpro
force-pushed
the
removing_dry_run
branch
from
September 9, 2026 18:04
585c77a to
baf456c
Compare
sachinpro
force-pushed
the
removing_dry_run
branch
2 times, most recently
from
September 9, 2026 20:03
7ae79f3 to
c50e696
Compare
sachinpro
force-pushed
the
removing_dry_run
branch
6 times, most recently
from
September 10, 2026 00:18
fb857e5 to
cafdc11
Compare
sachinpro
force-pushed
the
removing_dry_run
branch
6 times, most recently
from
September 10, 2026 04:30
98ce628 to
748de25
Compare
sachinpro
marked this pull request as ready for review
September 10, 2026 04:56
sachinpro
force-pushed
the
removing_dry_run
branch
4 times, most recently
from
September 11, 2026 22:45
ff1e699 to
26001fb
Compare
sachinpro
force-pushed
the
removing_dry_run
branch
from
September 11, 2026 23:08
26001fb to
a29ab2a
Compare
sachinpro
force-pushed
the
removing_dry_run
branch
from
September 16, 2026 00:25
a29ab2a to
3dc3c86
Compare
sachinpro
force-pushed
the
removing_dry_run
branch
from
September 16, 2026 00:44
3dc3c86 to
6ddb426
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
b/553446481
Context
Previously,
SQLExecDirectalways invokedPrepareQuery(query_str)prior to execution.PrepareQueryperforms a dry run API call against BigQuery to retrieve query metadata (schema for the IRD, statement type, and job location).This PR bypasses the dry run call during
SQLExecDirectfor simple queries without positional or named parameters, populating the IRD directly from the execution response.Key Changes:
Bypass Dry Run in
SQLExecDirect:SQLExecDirectnow executes queries directly viaActuallyProcessExecutewhen no parameter bindings existResponse-Driven Statement & Descriptor Handling:
google-cloud-cpptov3.10.0which exposesstatement_typedirectly inPostQueryResultsfrom thejobs.queryresponse.SELECTresult sets, unbinding for DDL/DML).Multi-Statement Script Refactoring:
PopulateScriptChildJobsto handle multi-statement scripts (SCRIPT), properly listing and ordering child jobs and resetting to the first statement's result set.ExecuteScriptto share the child-job enumeration and single-statement handling logic withPopulateScriptChildJobs.Verification