You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/26 13:34:02 UTC

[jira] [Closed] (ARROW-12319) [Rust][DataFusion] Improve the errors that result when a aggregate type is not supported

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

Andrew Lamb closed ARROW-12319.
-------------------------------
    Resolution: Invalid

> [Rust][DataFusion] Improve the errors that result when a aggregate type is not supported
> ----------------------------------------------------------------------------------------
>
>                 Key: ARROW-12319
>                 URL: https://issues.apache.org/jira/browse/ARROW-12319
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust - DataFusion
>            Reporter: Andrew Lamb
>            Priority: Minor
>
> When you try and run a query such as
> {code}
> select AVG(ts_colum) from t;
> {code}
> where ts_column has `DataType::Timestamp` type, you get a pretty unintelligible error message
> "Coercion from [Timestamp(Nanosecond, None)] to the signature Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64]) failed."
> This error should be improved to say something more like "AVG is not supported for {datatype} try an explicit cast."



--
This message was sent by Atlassian Jira
(v8.3.4#803005)