Conversation
sachinpro
force-pushed
the
removing_dry_run_test
branch
6 times, most recently
from
September 15, 2026 23:01
6923537 to
b6f0763
Compare
sachinpro
force-pushed
the
removing_dry_run_test
branch
3 times, most recently
from
September 15, 2026 23:23
09597c7 to
ef6e3c3
Compare
sachinpro
force-pushed
the
removing_dry_run_test
branch
4 times, most recently
from
September 16, 2026 00:11
1499177 to
67da40a
Compare
sachinpro
force-pushed
the
removing_dry_run_test
branch
2 times, most recently
from
September 16, 2026 00:22
7a290d3 to
3dc3c86
Compare
sachinpro
force-pushed
the
removing_dry_run_test
branch
from
September 16, 2026 00:42
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