Repository navigation
fix(mcp): execute_sql request limit caps, never raises, an explicit SQL LIMIT #44604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
aminghadersohi
merged 29 commits into
apache:master
from
aminghadersohi:sc-121813-execute-sql-limit-min
Oct 2, 2026
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
33dee87
fix(mcp): cap explicit SQL limits without increasing them
aminghadersohi 080ca6c
test(sql): isolate wrap limit coverage from DB2 parser
aminghadersohi 552fa50
fix(sql): preserve modified and expression limits under row caps
aminghadersohi 9e9d0b0
Merge origin/master into sc-121813-execute-sql-limit-min
aminghadersohi 1ce0e02
fix(mcp): condense execute_sql limit description
aminghadersohi 9ee6333
Merge master into sc-121813-execute-sql-limit-min (pick up codeql-act…
aminghadersohi dbf7abc
fix(sql): preserve SQL Server projections when capping results
aminghadersohi c85f077
fix(sql): bound cursor reads while preserving engine processing
aminghadersohi 6b2dfd1
test(sql): cover CTE hoisting for expression limit caps
aminghadersohi 900fb97
docs(mcp): note that the execute_sql row cap also truncates non-query…
aminghadersohi cad654d
fix(sql): preserve expression limits when applying row caps
aminghadersohi e781f0d
fix(sql): preserve cursor budget after failed fetches
aminghadersohi c8c63cd
fix(sql): retain SQL Server caps for legacy SQL-only callers
aminghadersohi 79e9079
Merge remote-tracking branch 'origin/master' into sc-121813-execute-s…
aminghadersohi e2c7759
Merge remote-tracking branch 'origin/master' into sc-121813-execute-s…
aminghadersohi 5da19fa
test(sql): cover direct row-cap regression cases
aminghadersohi f06ce97
fix(sql): expose fetch truncation in statement results
aminghadersohi 0ae55ff
fix(sql): preserve engine-aware fetch truncation
aminghadersohi b6c7f04
Merge Apache master into SQL limit fixes
aminghadersohi 5371826
fix(sql): confirm BigQuery truncation at the sample boundary
aminghadersohi 071a186
test(bigquery): verify EOF probe preserves budgeted rows
aminghadersohi a50d2b6
fix(bigquery): fail fetches instead of losing buffered rows
aminghadersohi 0c7cc20
test(bigquery): clarify fetch error scenarios
aminghadersohi 1aa8b1a
chore: merge Apache master and preserve release notes
aminghadersohi 40d6ff4
Merge Apache master into MCP SQL limit handling
aminghadersohi a7838f5
Merge Apache master into MCP SQL limit handling
aminghadersohi 5eee71d
fix(sql): keep fetched rows when the truncation probe fails
aminghadersohi 26fcde4
Merge Apache master into MCP SQL limit handling
aminghadersohi fc46a96
test(sql): set explicit row limit in worker query fixture
aminghadersohi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.