v-kkhuang opened a new issue, #5414: URL: https://github.com/apache/linkis/issues/5414
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/linkis/issues) and found no similar feature requirement. ### Linkis Component - [x] linkis-commons - [ ] linkis-computation-governance - [ ] linkis-dist - [ ] linkis-engineconn-plugin - [ ] linkis-extensions - [ ] linkis-orchestrator - [ ] linkis-public-enhancements - [ ] linkis-spring-cloud-services - [ ] linkis-web ### Description Currently, Linkis date variable functionality only supports day, month, and year granularity. Users need the ability to calculate and use week-based variables for more flexible time-based scheduling and reporting. ### Steps to reproduce 1. Try to use week variables in Linkis SQL queries 2. Find that week-based calculations are not supported 3. Need to manually calculate week values ### Expected behavior Support week variables in Linkis SQL queries, such as ${week}, ${week_start}, ${week_end}, etc. ### Your environment - Linkis version used: 1.18.0 - Environment name and version: - hadoop-3.3.4 - spark-2.4.3 - scala-2.11.12 - jdk 1.8.0_xxx ### Anything else This feature enables week-based date calculations for scheduling and reporting use cases. ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
