Repository navigation
mssql: core query support (joins, FROM sources, query shapes, literals, macros) #3
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
EliSauder
wants to merge
43
commits into
main
Choose a base branch
from
mssql/core-queries
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
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
1b00606
fix(mssql): make the optional side of outer joins nullable
EliSauder cc09068
feat(mssql): support CROSS APPLY and OUTER APPLY
EliSauder 42ea003
fix(mssql): type TOP and OFFSET/FETCH parameters as bigint
EliSauder 3b901d6
feat(mssql): support recursive common table expressions
EliSauder b4fd639
feat(mssql): support OPENJSON, STRING_SPLIT and GENERATE_SERIES in FROM
EliSauder 94a9d7a
feat(mssql): support sqlc.arg, sqlc.narg and sqlc.slice
EliSauder 948ff95
feat(mssql): support sqlc.embed
EliSauder e46519f
fix(core): let set operation branches see the enclosing query
EliSauder d130dd5
feat(mssql): support VALUES as a derived table
EliSauder 6bdd726
fix(mssql): resolve INSERTED and DELETED in OUTPUT against the target
EliSauder 108d8a1
fix(mssql): type TRY_CAST and TRY_CONVERT as nullable
EliSauder dd318d5
feat(mssql): type PARSE and TRY_PARSE
EliSauder 142a713
feat(mssql): type @@ROWCOUNT and the other system variables
EliSauder 6476de9
feat(mssql): support PIVOT and UNPIVOT in FROM
EliSauder 4ac96f6
fix(mssql): quote expanded identifiers with brackets
EliSauder 033df82
feat(mssql): type FOR JSON and FOR XML results
EliSauder b6aef71
fix(golang): expand every use of a named slice
EliSauder e85a2ac
fix(mssql): expand a star qualified with double quotes
EliSauder 969a10e
fix(mssql): embed a table only when the star is all of its columns
EliSauder 6a3e9b2
fix(core): keep a WITH clause's names out of the enclosing query
EliSauder 1fe1a2d
fix(mssql): leave bracketed identifiers alone when preprocessing
EliSauder d4a19b5
fix(mssql): reject a macro name that is not a valid @name
EliSauder d630cd1
fix(mssql): keep the placeholders of FOR SYSTEM_TIME
EliSauder c3ceb10
fix(mssql): keep the placeholders of CONTAINS and FREETEXT
EliSauder de920bc
feat(mssql): support WITH on INSERT
EliSauder 0e560ff
feat(mssql): type a call to a scalar function the schema creates
EliSauder a903576
feat(mssql): select from a table-valued function the schema creates
EliSauder 2420922
fix(core): type a placeholder INSERT ... SELECT inserts as its column
EliSauder 2861faa
fix(mssql): type an N'...' literal as nvarchar
EliSauder 444e97c
fix(core): find the family of a type given default arguments
EliSauder 043680e
fix(mssql): type a number with a decimal point as decimal
EliSauder fe55ab3
fix(mssql): keep the placeholders of TABLESAMPLE
EliSauder 896a112
fix(core): stop pairing INSERT ... SELECT items with columns after a …
EliSauder 70864b8
fix(mssql): leave sqlc.embed out of the @name check
EliSauder 916869a
fix(mssql): read a placeholder's name through #, $ and @
EliSauder 8e0928f
fix(mssql): measure a star qualifier with escaped quotes as written
EliSauder d1d16c9
fix(mssql): embed a table only when its columns are as nullable as th…
EliSauder d44a092
test(mssql): clarify variable scanning
EliSauder b6f2cc9
test(compiler): cover quoted SQL Server star references
EliSauder bbc976e
test(compiler): verify core sqlc.embed output
EliSauder d1ad515
fix(core): scope recursive CTE nullability by dialect
EliSauder ce98a0d
test(mssql): cover conversion and literal type analysis
EliSauder be33a25
test(mssql): verify OUTPUT aliases in core context
EliSauder 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
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.