You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2022/10/21 19:36:37 UTC
[GitHub] [drill] cgivre opened a new pull request, #2690: DRILL-8341: Add Scanned Plugin List to Sys Profiles Table
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-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] cgivre merged pull request #2690: DRILL-8341: Add Scanned Plugin List to Sys Profiles Table
Posted by GitBox <gi...@apache.org>.
cgivre merged PR #2690:
URL: https://github.com/apache/drill/pull/2690
--
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-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org