[FEATURE] Introduce max_pt function for spark
- Dominant language
- Scala
- Stars
- 2.4k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the feature
max_pt: 返回分区表的一级分区中有数据的分区的最大值,按字母排序,且读取该分区下对应的数据。
https://www.alibabacloud.com/help/zh/maxcompute/user-guide/other-functions#section-16z-4vq-iys
### Motivation
_No response_
### Describe the solution
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [ ] No. I cannot submit a PR at this time.
Contributor guide
Research direction
The issue does not identify implementation files, tests, or an entry point. Start by locating existing Spark SQL function implementations and tests in Kyuubi, then verify how a max_pt function should select the highest populated first-level partition and read its corresponding data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala, spark
- Domain
- data-engineering, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100