Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Mar 31, 2025

We can't apply NOT(NOT(expr)) -> expr optimization if there will be a type conversion involved.

This PR also fixes bad test involving current timestamps.

fixes: dolthub/dolt#9054

Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jycor jycor merged commit c88082e into main Mar 31, 2025
8 checks passed
@jycor jycor deleted the james/not branch March 31, 2025 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Double negation is treated as original value in WHERE clause

3 participants