-
Notifications
You must be signed in to change notification settings - Fork 14
End-to-end SQL support: schema discovery, SELECT * expansion, DataFrame bridge, helpers, guardrails #141
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
Open
Copilot
wants to merge
26
commits into
main
Choose a base branch
from
copilot/add-public-api-for-metadata
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
End-to-end SQL support: schema discovery, SELECT * expansion, DataFrame bridge, helpers, guardrails #141
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
5b08ea0
Initial plan
Copilot d61ffca
Add list_columns, list_relationships, list_table_relationships APIs w…
Copilot 7f06533
End-to-end SQL support: schema discovery, SELECT * expansion, DataFra…
12d3e86
Adjust guardrails: remove TOP injection (server enforces 5000 cap), a…
89adad3
Add SQL helper functions: sql_columns, sql_select, sql_joins, sql_join
86f9c37
Add OData helpers: odata_select, odata_expands, odata_expand, odata_bind
76525ff
Fix: add ManyToOneRelationships to list_table_relationships
769616b
Fix: exclude computed display-name columns from sql_columns/odata_select
e251f42
Fix: move write guardrail before table extraction + test 8-table JOIN…
3945b8b
Update sql_examples.py: add AND/OR, NOT IN, deep JOINs, helpers, SQL …
50cf7d7
Proven: 15-table SQL JOINs work (no depth limit, unlike OData's 10-le…
f8f5151
Add anti-pattern warnings + best practices section to sql_examples.py
7096624
Upgrade: cross join guardrail from warning to ValidationError
68d32ea
Revert: cross join guardrail back to UserWarning (not ValidationError)
a09e266
Block all server-rejected SQL patterns in SDK (save round-trip)
b18a219
Improve anti-pattern #4: mention sql_select() helper, clarify SELECT …
a595a72
Address all 11 PR review comments
a0ae21d
Fix README: list_table_relationships includes ManyToOne (confirmed Da…
b5eb12b
Full audit: fix Learn docstrings, add __all__, fix param doc, add Att…
56f19b8
Fix CodeQL ReDoS: replace vulnerable write regex with comment-strippi…
e129eed
fix: address 5 Copilot review comments (round 2)
2f22009
Merge main into copilot/add-public-api-for-metadata
aa896b8
fix: update SQL parameter extraction to use URL parsing in query SQL …
f4afbef
fix: integration tests for SQL examples
2e66233
fix: auto-lowercase table names in _build_lookup_field_models, remove…
Copilot 5942c4a
Merge branch 'main' into copilot/add-public-api-for-metadata
sagebree 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
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.