databend icon indicating copy to clipboard operation
databend copied to clipboard

fix(query): check_timestamp/date -> clamp_timestamp/date

Open TCeason opened this issue 4 months ago โ€ข 1 comments

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):

This change isโ€‚Reviewable

TCeason avatar Oct 17 '24 09:10 TCeason