Skip to content

percentile with an array of percentages or a frequency argument #7435

Open

Description

@parthchandra

What is the problem the feature request solves?

Native percentile supports a single literal percentage on numeric input. percentile(col, array(0.5, 0.9, 0.99)) and the frequency form fall back to Spark, along with the enclosing aggregate.

Describe the potential solution

Support an array of literal percentages (returning an array) and the frequency argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions