Skip to content

Update recursion limit in DataFusion #14857

Open
@Omega359

Description

@Omega359

As mentioned in #14095 (comment) and discovered in #14091 it seems that we could look into increasing the recursion limit to allow more sql tests to pass without cause stack overflows.

This ticket is to investigate just how much the recursion limit would need to be increased to allow queries such as in #14091 to pass without issues. Once that limit is found we could update DF with that as the default recursion limit.

This change will require changes to DFParser and likely a new config option. The default recursion limit is 50 as seen @ https://github.com/apache/datafusion-sqlparser-rs/blob/aab12add36bfb4dfd60c2ba38682b503cc248199/src/parser/mod.rs#L187

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions