pedroalves5770 opened a new issue, #35963:
URL: https://github.com/apache/superset/issues/35963
### Bug description
In a dataset where a date column has null values (patient discharge while
still under care), the superset does not recognize it as datetime.
If I filter a column not classified as datetime (which has null values), it
filters as "ALTA" >= '2025-10-03 00:00:00.000000', which results in an error.
When I filter a datetime column (when it doesn't have null values), it
filters as "ALTA_MEDICA" >= TO_DATE('2025-01-01T00:00:00',
'YYYY-MM-DD"T"HH24:MI:SS'), which works.
What can I do to make the superset correctly filter a date column that is
not classified as datetime?
I can't create another dataset that doesn't consider the null values.
### Screenshots/recordings
_No response_
### Superset version
4.1.3
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]