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

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

Kyle Weaver created BEAM-10915:
----------------------------------

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


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)