You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/12/29 00:31:17 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 ]

Jacques Nadeau updated DRILL-1523:
----------------------------------
    Component/s: Functions - Drill

> 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
>
> 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)