apache / apache/datafusion

[datafusion-spark] implement spark random functions

Open
#19,907 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

Implement spark random functions:
- https://spark.apache.org/docs/latest/api/sql/index.html#uniform
- https://spark.apache.org/docs/latest/api/sql/index.html#random
- https://spark.apache.org/docs/latest/api/sql/index.html#rand
- https://spark.apache.org/docs/latest/api/sql/index.html#randn

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the Spark SQL documentation links in the issue and locate the existing DataFusion Spark function implementations. Implement support for uniform, random, rand, and randn, then verify that the functions behave according to the linked Spark SQL specifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, spark
Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.