Skip to content

Conversation

@jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Dec 5, 2025

The error described in #13255 is introduced by the conversion to a lookup table in #12894.

The performance improvement was the change to a lookup table.
However if your values contained a null this would fail since you can't have a null key.

This PR maintains the lookup table by replacing null with a placeholder __NULL__ string.

Fixes #13255

@jasonvarga
Copy link
Member Author

@hastinbe maybe you'd like to run your eyes over this.

@hastinbe
Copy link
Contributor

hastinbe commented Dec 5, 2025

@hastinbe maybe you'd like to run your eyes over this.

I like the solution. I added tests hastinbe@abd91a5 feel free to cherry-pick

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.

Error after upgrading to 5.70.0 array_flip(): Can only flip string and integer values, entry skipped

3 participants