databend
databend copied to clipboard
fix(query): check_timestamp/date -> clamp_timestamp/date
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
If Date/Timestamp is invalide, convert it to Date/TimestampMIN
Tests
- [x] Unit Test
- [ ] Logic Test
- [ ] Benchmark Test
- [ ] No Test - Explain why
Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Breaking Change (fix or feature that could cause existing functionality not to work as expected)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):