Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Variable Operation #2415

Merged
merged 6 commits into from
Jul 7, 2022
Merged

Conversation

duhanmin
Copy link
Contributor

@duhanmin duhanmin commented Jul 5, 2022

variable result
${yyyy-01-01} 2021-01-01
${yyyy-01-01%-2y} 2019-01-01
${yyyy-MM-01%-2M} 2021-02-01
${yyyy-MM-dd%-2d} 2021-03-31
${yyyy MM ----- HH%-1H} 2021 04 ----- 14
${yyyyMMdd%-1d} 20210401
${yyyyMM01%-1M} 20210301
${HH%-1H} 14

@duhanmin
Copy link
Contributor Author

duhanmin commented Jul 5, 2022

#2416

@duhanmin duhanmin closed this Jul 5, 2022
@duhanmin duhanmin reopened this Jul 5, 2022
@duhanmin duhanmin changed the title Variable Operation support Variable Operation Jul 5, 2022
@duhanmin duhanmin closed this Jul 6, 2022
@duhanmin duhanmin reopened this Jul 6, 2022
@duhanmin duhanmin closed this Jul 6, 2022
@duhanmin duhanmin reopened this Jul 6, 2022
@duhanmin duhanmin requested a review from peacewong July 6, 2022 12:02
@codecov
Copy link

codecov bot commented Jul 7, 2022

Codecov Report

Merging #2415 (cd5c9a4) into dev-1.2.0 (b462730) will increase coverage by 0.29%.
The diff coverage is 42.44%.

@@               Coverage Diff               @@
##             dev-1.2.0    #2415      +/-   ##
===============================================
+ Coverage        17.83%   18.12%   +0.29%     
- Complexity        1077     1094      +17     
===============================================
  Files              595      597       +2     
  Lines            17667    17805     +138     
  Branches          2635     2660      +25     
===============================================
+ Hits              3151     3228      +77     
- Misses           14092    14144      +52     
- Partials           424      433       +9     
Impacted Files Coverage Δ
...on/exception/VariableOperationFailedException.java 0.00% <0.00%> (ø)
...he/linkis/common/utils/VariableOperationUtils.java 43.20% <43.20%> (ø)
...org/apache/linkis/common/utils/VariableUtils.scala 59.77% <50.00%> (-0.35%) ⬇️
.../org/apache/linkis/common/conf/Configuration.scala 53.33% <100.00%> (+53.33%) ⬆️
...org/apache/linkis/jobhistory/util/QueryUtils.scala 22.22% <0.00%> (+1.09%) ⬆️
...a/org/apache/linkis/scheduler/queue/Consumer.scala 100.00% <0.00%> (+14.28%) ⬆️
...ala/org/apache/linkis/common/utils/JsonUtils.scala 100.00% <0.00%> (+100.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b462730...cd5c9a4. Read the comment docs.

Copy link
Contributor

@peacewong peacewong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@peacewong peacewong merged commit 523d2f7 into apache:dev-1.2.0 Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants