vvysotskyi opened a new pull request #2043: DRILL-7673: View set query fails with NPE for non-existing option URL: https://github.com/apache/drill/pull/2043 # [DRILL-7673](https://issues.apache.org/jira/browse/DRILL-7673): View set query fails with NPE for non-existing option ## Description `OptionManager.getOption()` method returns null for non-existing options. Added call for `OptionManager.getOptionDefinition()` whith throws valid exception for such case. Used option name from `OptionDefinition` to display option name in the correct casing. ## Documentation NA ## Testing Added unit test.
---------------------------------------------------------------- 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
