You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2016/03/08 21:07:40 UTC
[jira] [Created] (DRILL-4488) Prefix "-" cause failure (NPE) in
constant folding
Sean Hsuan-Yi Chu created DRILL-4488:
----------------------------------------
Summary: Prefix "-" cause failure (NPE) in constant folding
Key: DRILL-4488
URL: https://issues.apache.org/jira/browse/DRILL-4488
Project: Apache Drill
Issue Type: Bug
Components: Query Planning & Optimization
Reporter: Sean Hsuan-Yi Chu
Assignee: Sean Hsuan-Yi Chu
For example, a query like this one:
{code}
SELECT -sqrt(5) as col
from cp.`tpch/nation.parquet`
{code}
gives NPE.
The reason is because of the translation of prefix "-" to -1 .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)