Support 2-argument ceil(value, scale) for Spark
Open
enhancement
good first issue
spark
- 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?
Followup on https://github.com/apache/datafusion/pull/20593
According to https://spark.apache.org/docs/latest/api/sql/#ceil the scale is optional parameter, it would be great to support it
### Describe the solution you'd like
_No response_
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Review the referenced Apache DataFusion pull request 20593 and the existing ceil(value) implementation and tests. Compare the behavior with Spark's ceil documentation, then verify that the optional scale form is supported and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, spark
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100