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 2019/03/20 16:17:06 UTC

[GitHub] [drill] sohami commented on a change in pull request #1703: DRILL-7110: Skip writing profile when an ALTER SESSION is executed

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:
users@infra.apache.org


With regards,
Apache Git Services