You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/09/17 00:28:00 UTC

[jira] [Updated] (BEAM-10915) AVG(INT64) suggests using DOUBLE, which isn't a supported type.

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

Kenneth Knowles updated BEAM-10915:
-----------------------------------
    Status: Open  (was: Triage Needed)

> AVG(INT64) suggests using DOUBLE, which isn't a supported type.
> ---------------------------------------------------------------
>
>                 Key: BEAM-10915
>                 URL: https://issues.apache.org/jira/browse/BEAM-10915
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql-zetasql
>            Reporter: Kyle Weaver
>            Assignee: Kyle Weaver
>            Priority: P2
>
> I tried averaging an INT64 field, and got this error message:
> "AVG(LONG) is not supported. You might want to use AVG(CAST(expression AS DOUBLE)."
> LONG should be INT64, and DOUBLE should be FLOAT64.



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