You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Emit a Postgres style JSON plan via db.query.plan #25
Is your feature request related to a problem or challenge?
This is something we do internally with our tracing / instrumentation and it is super helpful: there's lots of tools for visualizing this plan format, including DataDog (I think).
@adriangb I'm not sure I fully understand: do you want to tag the root span with the JSON plan?
Would you mind sharing an example of what you do internally so its clearer?
I still think it would be datafusion-tracings responsibility to get the pgjson from the executed plan and add it as an attribute to the top level span.
Activity
geoffreyclaude commentedon Oct 10, 2025
@adriangb I'm not sure I fully understand: do you want to tag the root span with the JSON plan?
Would you mind sharing an example of what you do internally so its clearer?
geoffreyclaude commentedon May 29, 2026
Implementation on going in upstream DataFusion in apache/datafusion#21767
adriangb commentedon May 29, 2026
I still think it would be
datafusion-tracings responsibility to get the pgjson from the executed plan and add it as an attribute to the top level span.