drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Hsuan-Yi Chu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4488) Prefix "-" cause failure (NPE) in constant folding
Date Tue, 08 Mar 2016 20:07:40 GMT
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)

Mime
View raw message