You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by "v-kkhuang (via GitHub)" <gi...@apache.org> on 2026/04/13 07:54:53 UTC

[I] [feature][COM][common] add week variable support for date calculation [linkis]

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: dev-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


Re: [I] [feature][COM][common] add week variable support for date calculation [linkis]

Posted by "Alexkun (via GitHub)" <gi...@apache.org>.
Alexkun closed issue #5414: [feature][COM][common] add week variable support for date calculation
URL: https://github.com/apache/linkis/issues/5414


-- 
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: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


Re: [I] [feature][COM][common] add week variable support for date calculation [linkis]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5414:
URL: https://github.com/apache/linkis/issues/5414#issuecomment-4234721461

   ## :blush:  Welcome to the Apache Linkis community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
   
   
   ### Community
   
   |WeChat Assistant|WeChat Public Account|
   |-|-|
   |<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png" width="128"/>|
   
   
   ### Mailing Lists
   |Name|Description|Subscribe|Unsubscribe|Archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
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: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org