You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2015/04/11 00:11:13 UTC

[jira] [Updated] (DRILL-1523) Invalid function resolution when varchar type argument is passed to stddev function.

     [ https://issues.apache.org/jira/browse/DRILL-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehant Baid updated DRILL-1523:
-------------------------------
    Fix Version/s:     (was: 0.9.0)
                   1.0.0

> Invalid function resolution when varchar type argument is passed to stddev function.
> ------------------------------------------------------------------------------------
>
>                 Key: DRILL-1523
>                 URL: https://issues.apache.org/jira/browse/DRILL-1523
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 0.6.0
>            Reporter: Venki Korukanti
>            Assignee: Mehant Baid
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Executing following query results in error in compiling the generated code in streaming agg batch. It should throw error saying there is no "stddev" function implementation found for varchar input. Implicit cast is applied to varchar, but the cast is castTinyInt which is also seems to be wrong. 
> {code}
> select stddev(full_name) from cp.`employee.json`;
> {code}
> {code}
> Query failed: Screen received stop request sent. Line 57, Column 26: "value" is neither a method, a field, nor a member class of "org.apache.drill.exec.expr.holders.NullableVarCharHolder" [96d9040e-a5ae-41b4-a409-36933817b8ef]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)