Skip to content

Conversation

@angelamayxie
Copy link
Contributor

@angelamayxie angelamayxie commented Jun 11, 2025

if.Eval().Type() should evaluate to if.Type(), instead of whatever type the chosen subexpression is.

https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_if

Fixes dolthub/dolt#9320

@angelamayxie angelamayxie requested a review from jycor June 11, 2025 22:12
Copy link
Contributor

@jycor jycor left a comment

Choose a reason for hiding this comment

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

LGTM

@angelamayxie angelamayxie merged commit cb66eeb into main Jun 11, 2025
8 checks passed
@angelamayxie angelamayxie deleted the angela/groupby branch June 11, 2025 23:12
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.

Group-By with IF function fails to distinguish the integer "1" and the boolean value "true"

3 participants