Skip to content

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Sep 25, 2025

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM


// newInMap hashes static expressions in the right child Tuple of a InTuple node
func newInMap(ctx *sql.Context, right Tuple, lType sql.Type) (map[uint64]sql.Expression, bool, error) {
func newInMap(ctx *sql.Context, lType sql.Type, right Tuple) (map[uint64]struct{}, sql.Type, bool, error) {
Copy link
Member

Choose a reason for hiding this comment

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

Should detail the return values in the comment

@jycor jycor changed the base branch from james/truncation2 to main September 29, 2025 23:02
@jycor jycor merged commit aa14837 into main Sep 30, 2025
8 checks passed
@jycor jycor deleted the james/truncation3 branch September 30, 2025 22:16
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.

Boolean literal in IN clause fails to match truthy VARCHAR values
2 participants