[
https://issues.apache.org/jira/browse/DRILL-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau updated DRILL-1523:
----------------------------------
Fix Version/s: (was: 1.0.0)
1.2.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.2.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)