-
Couldn't load subscription status.
- Fork 3.3k
Description
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.