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)