Venki Korukanti created DRILL-1523:
--------------------------------------

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

Reply via email to