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

Add Date Masking Buitlin Algorithm | Keep Year Only #29257

Closed
wants to merge 2 commits into from

Conversation

Afsalmc
Copy link

@Afsalmc Afsalmc commented Dec 2, 2023

Fixes #ISSUSE_ID.

Changes proposed in this pull request:

  • Add a builtin algorithm for masking dates. This Algo keeps the original year info and replace the rest of the date information with the first day of the year.

Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

Copy link
Member

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

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

  • The PR did not pass the code formatting validation. You can execute first ./mvnw spotless:apply -Pcheck -T1C. Then execute ./mvnw checkstyle:check -Pcheck -T1C to manually adjust to repair the CI.

@strongduanmu
Copy link
Member

Since this pr has long time no response, I will close it. If you still want to contribute this algorithm, a better place is the ShardingSphere Plugin repository - https://github.com/apache/shardingsphere-plugin.

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.

3 participants