LakshSingla edited a comment on pull request #11908:
URL: https://github.com/apache/druid/pull/11908#issuecomment-966326496


   We can support both the formats simultaneously in Calcite's syntax using 
`SqlExplainLevel` and `SqlExplain.Depth`. From the Calcite's docs. 
   ```
   explain:
         EXPLAIN PLAN
         [ WITH TYPE | WITH IMPLEMENTATION | WITHOUT IMPLEMENTATION ]
         [ EXCLUDING ATTRIBUTES | INCLUDING [ ALL ] ATTRIBUTES ]
         [ AS JSON | AS XML | AS DOT ]
         FOR { query | insert | update | merge | delete }
   ```
   So potentially,
   `EXPLAIN PLAN FOR {query}` can give older output and say `EXPLAIN PLAN 
EXCLUDING ATTRIBUTES {query}` can give the newer one. (Can be altered to 
whatever makes more sense semantically). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to