cgivre opened a new pull request, #2690:
URL: https://github.com/apache/drill/pull/2690

   # [DRILL-8341](https://issues.apache.org/jira/browse/DRILL-8341): Add 
Scanned Plugin List to Sys Profiles Table
   
   ## Description
   In [DRILL-8322](https://issues.apache.org/jira/browse/DRILL-8322), @jnturton 
added the list of scanned plugins to the query profiles.  This information is 
extremely useful in query analysis.  This minor PR adds this same information 
to the sys.profiles table.
   
   ## Documentation
   Adds two fields to the `sys.profiles` table: 
   *  `pluginCount`: Returns the number of plugins scanned in the query
   * `pluginList`: Returns the actual plugins.  Note this is a JSON String, not 
an actual list. 
   
   ## Testing
   Tested manually.
   
   ```
   apache drill> select pluginCount, pluginList, query from sys.profiles limit 
2;
   +-------------+------------+------------------------------------+
   | pluginCount | pluginList |               query                |
   +-------------+------------+------------------------------------+
   | 1           | [sys]      | select * from sys.profiles limit 2 |
   | 0           | []         | show files in dfs.test             |
   +-------------+------------+------------------------------------+
   ```
   
   


-- 
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: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to