Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range should return NULL if any date args are NULL #14092

Closed
cht42 opened this issue Jan 12, 2025 · 0 comments · Fixed by #14093
Closed

Range should return NULL if any date args are NULL #14092

cht42 opened this issue Jan 12, 2025 · 0 comments · Fixed by #14093
Labels
bug Something isn't working

Comments

@cht42
Copy link
Contributor

cht42 commented Jan 12, 2025

Describe the bug

When doing a date range, if any argument is null, range should return null.

To Reproduce

select generate_series(NULL::Date, DATE '1993-03-01', INTERVAL '1' YEAR); should return NULL

Expected behavior

No response

Additional context

No response

@cht42 cht42 added the bug Something isn't working label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant