agavra opened a new pull request, #9497:
URL: https://github.com/apache/pinot/pull/9497

   Adds functionality to be able to call `QueryPlan#debugString()` to see an 
`EXPLAIN`-like string. Here are some examples:
   
   `SELECT * FROM b ORDER BY col1, col2 DESC LIMIT 3`:
   ```
   MAIL_RECEIVE
       MAIL_SEND
           SORT (LIMIT 3)
               MAIL_RECEIVE
                   MAIL_SEND
                       TABLE SCAN (b)
   ```
   
   `SELECT * FROM a JOIN b ON a.col1 = b.col1 JOIN c ON a.col3 = c.col3`:
   ```
   MAIL_RECEIVE
       MAIL_SEND
           JOIN
               MAIL_RECEIVE
                   MAIL_SEND
                       JOIN
                           MAIL_RECEIVE
                               MAIL_SEND
                                   TABLE SCAN (a)
                           MAIL_RECEIVE
                               MAIL_SEND
                                   TABLE SCAN (b)
               MAIL_RECEIVE
                   MAIL_SEND
                       TABLE SCAN (c)
   ```


-- 
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