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 2020/03/28 10:49:12 UTC

[GitHub] [drill] vvysotskyi commented on a change in pull request #2043: DRILL-7673: View set query fails with NPE for non-existing option

vvysotskyi commented on a change in pull request #2043: DRILL-7673: View set query fails with NPE for non-existing option
URL: https://github.com/apache/drill/pull/2043#discussion_r399648044
 
 

 ##########
 File path: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/SetOptionHandler.java
 ##########
 @@ -63,9 +64,10 @@ public final PhysicalPlan getPlan(SqlNode sqlNode) throws ForemanSetupException
     SqlNode optionValue = statement.getValue();
 
     if (optionValue == null) {
+      OptionDefinition optionDefinition = optionManager.getOptionDefinition(optionName);
 
 Review comment:
   Thanks, added a comment.

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