Skip to content

Prune OPENJSON columns list #32668

Closed
@roji

Description

@roji

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions