[
https://issues.apache.org/jira/browse/DRILL-5068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310495#comment-16310495
]
ASF GitHub Bot commented on DRILL-5068:
---------------------------------------
Github user kkhatua commented on a diff in the pull request:
https://github.com/apache/drill/pull/1077#discussion_r159556423
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java ---
@@ -230,6 +230,10 @@ public DrillbitContext getDrillbitContext() {
return context;
}
+ public QueryContext getQueryContext() {
--- End diff --
I was using it to retrieve the user name via
`queryContext.getQueryUserName()` but I can use the fragmentContext too. +1
> Create a system table for completed profiles - sys.profiles
> -----------------------------------------------------------
>
> Key: DRILL-5068
> URL: https://issues.apache.org/jira/browse/DRILL-5068
> Project: Apache Drill
> Issue Type: Sub-task
> Components: Storage - Information Schema
> Affects Versions: 1.8.0
> Environment: Fedora 25
> OpenJDK 8
> Firefox 50.0
> Reporter: Hongze Zhang
> Assignee: Kunal Khatua
> Fix For: 1.13.0
>
>
> Hi,
> Currently the profile page on UI is still not detailed enough for some
> complicated uses (eg. show all failed queries during these three days), we
> can only access latest 100 query profiles on this page.
> We may sometimes need a specific system table for querying completed profiles.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)