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/10/15 20:20: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 ]
Kyle Weaver updated BEAM-10915:
-------------------------------
Status: Resolved (was: Open)
> 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
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)