Skip to content

Change DateTimeFormatSpec delimiter #8727

Closed
stym06 wants to merge 2 commits intoapache:masterfrom
stym06:datetime-redo
Closed

Change DateTimeFormatSpec delimiter #8727
stym06 wants to merge 2 commits intoapache:masterfrom
stym06:datetime-redo

Conversation

@stym06
Copy link
Contributor

@stym06 stym06 commented May 18, 2022

For issue #8632 , this PR is for changing the format in the DateTimeFieldSpec.

@stym06 stym06 changed the title add first changes Change DateTimeFormatSpec delimiter May 18, 2022
Copy link
Contributor

@walterddr walterddr 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 the contribution @stym06 . this looks super great.

please take a look at these tips to get CI green

  • for the linter errors: you can use .github/workflows/scripts/.pinot_linter.sh to run it locally and fix the issues.
  • you will encounter test failure because of this change when you run mvn test. please let me know if any of these test issues are not clear or not easy to resolve.

Copy link
Contributor

@Jackie-Jiang Jackie-Jiang 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 the contribution!
The new format support looks good, but we want to keep it backward compatible so that existing schema still work. Essentially we need to support both format for now, and then slowly deprecate the old format. In the test, we should also test both the old and new format to ensure the change is backward compatible

@stym06
Copy link
Contributor Author

stym06 commented May 19, 2022

Got it @Jackie-Jiang

I will make the required changes

@stym06
Copy link
Contributor Author

stym06 commented May 26, 2022

Created another PR #8779 with backward compatibility as there were multiple merge conflicts and stuff in this branch.

@stym06 stym06 closed this May 26, 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.

3 participants