moshap-firebolt opened a new pull request, #3058: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/3058
Dialects: PostgreSQL, DuckDB, Generic `parse_data_type` parses the `[]` suffixes of `INT[][]...` in a loop, so the type nests one level per bracket without being charged to the recursion limit. Dropping or walking a type with many brackets overflows the stack. Each bracket now takes a recursion guard. Test: `parse_deeply_nested_array_brackets_hits_recursion_limits`. This PR was prepared with AI assistance (Claude). 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
