sohami commented on a change in pull request #1703: DRILL-7110: Skip writing 
profile when an ALTER SESSION is executed
URL: https://github.com/apache/drill/pull/1703#discussion_r267422971
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
 ##########
 @@ -92,6 +93,7 @@ public QueryContext(final UserSession session, final 
DrillbitContext drillbitCon
     this.drillbitContext = drillbitContext;
     this.session = session;
     this.queryId = queryId;
+    skipWritingProfile(false);
 
 Review comment:
   no need to explicitly set skipProfileWrite to false in constructor.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to