[
https://issues.apache.org/jira/browse/DRILL-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mehant Baid updated DRILL-323:
------------------------------
Attachment: DRILL-323.patch
Review board link: https://reviews.apache.org/r/16241/
Private repo link: https://github.com/mehant/incubator-drill-2
> Drill expression parser incorrectly handles expressions that involve math
> functions with more than 2 inputs
> -----------------------------------------------------------------------------------------------------------
>
> Key: DRILL-323
> URL: https://issues.apache.org/jira/browse/DRILL-323
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Mehant Baid
> Assignee: Mehant Baid
> Attachments: DRILL-323.patch
>
>
> While executing the following plan:
> {
> head : {
> version : 1,
> generator : {
> type : "optiq",
> info : "na"
> },
> type : "APACHE_DRILL_PHYSICAL"
> },
> graph:[
> {
> @id:1,
> pop:"mock-scan",
> url: "http://apache.org",
> entries:[
> {records: 1, types: [
> {name: "blue", type: "BIGINT", mode: "REQUIRED"}
> ]}
> ]
> }, {
> pop : "project",
> @id : 2,
> exprs : [ {
> ref : "output.EXPR$0",
> expr : " blue - blue + 1 "
> } ],
> child : 1
> }, {
> pop : "screen",
> @id : 3,
> child : 2
> } ]
> }
> we will hit the following error: "Failure while running fragment. <
> UnsupportedOperationException:[ Missing function implementation:
> [add(BIGINT-REQUIRED, BIGINT-REQUIRED, BIGINT-REQUIRED)] ]"
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)