Skip to content

[datafusion-spark]: Implement array_repeat #19701

@cht42

Description

@cht42

Is your feature request related to a problem or challenge?

Implement https://spark.apache.org/docs/latest/api/sql/index.html#array_repeat equivalent of spark.

Datafusion already has an implementation of array_repeat. The difference between DF and spark implementation is the handling of NULL inputs. In spark, if any of the argument is NULL then the return value is NULL.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions