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)

Reply via email to