[
https://issues.apache.org/jira/browse/DRILL-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111257#comment-16111257
]
ASF GitHub Bot commented on DRILL-5645:
---------------------------------------
GitHub user josiahyan opened a pull request:
https://github.com/apache/drill/pull/892
DRILL-5645: negation of expression causes null pointer exception
Fixes DRILL-5645, and another test case that got caught up in the change
due to type issues.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/josiahyan/drill DRILL-5645
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/892.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #892
----
commit 8ef634e2204a48fe7dd35d212cb0073fdf41aa35
Author: Josiah Yan <[email protected]>
Date: 2017-08-02T14:50:54Z
DRILL-5645: negation of expression causes null pointer exception
----
> negation of expression causes null pointer exception
> ----------------------------------------------------
>
> Key: DRILL-5645
> URL: https://issues.apache.org/jira/browse/DRILL-5645
> Project: Apache Drill
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.10.0
> Environment: Drill 1.10
> Reporter: N Campbell
>
> Following statement will fail when the expression is negated
> select -(2 * 2) from ( values ( 1 ) ) T ( C1 )
> Error: SYSTEM ERROR: NullPointerException
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)