Skip to content

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented Apr 3, 2024

Fixes #11444

The offending query creates a very long list of deeply nested brackets ([{"a":[{"a":[{"a":[{"a":[{"a":[{"a":[{"a":....). The string to list parsing algorithm used recursion when dealing with brackets, which caused this to trigger a stack overflow. This PR reworks the algorithm to use a vector instead.

@Mytherin Mytherin merged commit 2eecda9 into duckdb:main Apr 4, 2024
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Apr 5, 2024
@Mytherin Mytherin deleted the issue11444 branch June 7, 2024 12: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.

DuckDB crashes with the union operation of a long string and an array
1 participant