matrixone
matrixone copied to clipboard
Add timezone support
What type of PR is this?
- [ ] API-change
- [x] BUG
- [ ] Improvement
- [ ] Documentation
- [x] Feature
- [x] Test and CI
- [ ] Code Refactoring
Which issue(s) this PR fixes:
issue #3703 #3655
What this PR does / why we need it:
It's an incomplete effort of timezone support. However, it reaches a status that all bvt and ut can pass. More timezone related updates will be in following PRs.
Hi, can you please write a good commit message? What did you do, what has changed, where is timezone stored, or session timezone works, etc.. Or link to a doc.
Thank you.
I am very concerned about the performance of this change.
Can you please add a golang benchmark test, do datetime_add and compare that of using old code without timezone, and new code with timezone. Let me know how big is the difference.
{data,datetime}_{add,sub} has been rewritten. It doesn't involve timezone now.