Skip to content
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

Prune OPENJSON columns list #32668

Closed
Tracked by #31327
roji opened this issue Dec 25, 2023 · 0 comments · Fixed by #32673
Closed
Tracked by #31327

Prune OPENJSON columns list #32668

roji opened this issue Dec 25, 2023 · 0 comments · Fixed by #32673
Assignees
Labels
area-query area-sqlserver closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@roji
Copy link
Member

roji commented Dec 25, 2023

When we generate OPENJSON with WITH, we specify the column list in the WITH clause for all columns we know exist, based on the model. If some of these columns aren't referenced, prune them.

Depends on making pruning a real visitor and exposing it publicly (to providers), related to #31083.

@roji roji self-assigned this Dec 25, 2023
roji added a commit to roji/efcore that referenced this issue Dec 25, 2023
roji added a commit to roji/efcore that referenced this issue Dec 25, 2023
roji added a commit to roji/efcore that referenced this issue Dec 25, 2023
@roji roji added this to the 9.0.0 milestone Dec 25, 2023
@roji roji added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Dec 25, 2023
roji added a commit to roji/efcore that referenced this issue Dec 29, 2023
roji added a commit to roji/efcore that referenced this issue Dec 30, 2023
roji added a commit to roji/efcore that referenced this issue Dec 30, 2023
roji added a commit to roji/efcore that referenced this issue Dec 30, 2023
roji added a commit to roji/efcore that referenced this issue Dec 30, 2023
roji added a commit that referenced this issue Dec 30, 2023
@ajcvickers ajcvickers modified the milestones: 9.0.0, 9.0.0-preview1 Jan 31, 2024
@roji roji modified the milestones: 9.0.0-preview1, 9.0.0 Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-query area-sqlserver closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants