Skip to content

ZetaSQL: support aggregations of literal values #21355

Open
@damccorm

Description

@damccorm

SELECT ARRAY_AGG(1) b FROM UNNEST([1, 2, 3]) a

// Throw an error if aggregate function's input isn't either a ColumnRef or a cast(ColumnRef).

Imported from Jira BEAM-13648. Original Jira may contain additional context.
Reported by: ibzib.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions