[hotfix-#1952][core|doris] Fix ARRAY and LARGEINT type conversion exc… by zhiqiang-dev · Pull Request #1956 · DTStack/chunjun
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces configurable timezone handling in the DateUtil class to fix ARRAY and LARGEINT type conversion exceptions. The change allows users to optionally use the system's local timezone instead of the hardcoded GMT+8 timezone by setting the USE_LOCAL_TIMEZONE system property.
- Adds a system property flag to control timezone behavior
- Modifies the ThreadLocal date formatter initialization to conditionally use local or default timezone
- Maintains backward compatibility by defaulting to GMT+8 when the property is not set
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.