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 Datetime function LOCAL TIME #636

Merged
merged 14 commits into from
Feb 19, 2024
Merged

Conversation

TheAndreiUrsu
Copy link
Contributor

Motivation

  • To support Datetime function LOCAL TIME in Kotlin-JDSL.

Modifications

  • Created JPQL model and serializer for LOCAL TIME.
  • Created Dsl, Expressions, and Serializer tests for LOCAL TIME.

Commit Convention Rule

Commit type Description
feat New Feature
fix Fix bug
docs Documentation only changed
ci Change CI configuration
refactor Not a bug fix or add feature, just refactoring code
test Add Test case or fix wrong test case
style Only change the code style(ex. white-space, formatting)
chore It refers to minor tasks such as library version upgrade, typo correction, etc.
  • If you want to add some more commit type please describe it on the Pull Request

Result

  • The Datetime function LOCAL TIME is created.

Closes

…model.jpql.expression.impl package. This file establishes the groundwork for implementing JPQL expressions for the LocalTime type within the Kotlin JDSL query model.
…meSerializer class. This class implements the JpqlSerializer interface for the JpqlLocalTime type. The serialize method is customized to handle the serialization of JpqlLocalTime instances, producing the corresponding JPQL expression "LOCAL TIME".
…ocalTime expression, and can be used to handle LocalTime expressions in Kotlin-Jdsl.
@CLAassistant
Copy link

CLAassistant commented Feb 11, 2024

CLA assistant check
All committers have signed the CLA.

@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (755c8d5) 91.97% compared to head (2f28ab0) 91.96%.
Report is 136 commits behind head on develop.

Files Patch % Lines
...er/jpql/serializer/impl/JpqlLocalTimeSerializer.kt 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #636      +/-   ##
===========================================
- Coverage    91.97%   91.96%   -0.02%     
===========================================
  Files          297      299       +2     
  Lines         3215     3222       +7     
  Branches       195      195              
===========================================
+ Hits          2957     2963       +6     
- Misses         204      205       +1     
  Partials        54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shouwn
Copy link
Member

shouwn commented Feb 19, 2024

Please sign our contributor license agreement.

image

@shouwn
Copy link
Member

shouwn commented Feb 19, 2024

Please change the base branch from main to develop.

@TheAndreiUrsu TheAndreiUrsu changed the base branch from main to develop February 19, 2024 00:48
Copy link
Member

@shouwn shouwn left a comment

Choose a reason for hiding this comment

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

Thanks for your help!

@shouwn shouwn merged commit b0e0261 into line:develop Feb 19, 2024
2 of 4 checks passed
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.

5 participants