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