Open TracyZYJ opened 13 hours ago
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
date_add support week as unit.
SELECT DATE_ADD('week', 1, TODAY())=DATE_ADD('day', 7, TODAY())
fixes: https://github.com/databendlabs/databend/issues/16402
[x] Unit Test
[x] Logic Test
[ ] Benchmark Test
[ ] No Test - Explain why
This change isโ
LGTM. Please review this pr @b41sh
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
date_add support week as unit.
SELECT DATE_ADD('week', 1, TODAY())=DATE_ADD('day', 7, TODAY())
fixes: https://github.com/databendlabs/databend/issues/16402
Tests
[x] Unit Test
[x] Logic Test
[ ] Benchmark Test
[ ] No Test - Explain why
Type of change
This change isโ