apache / apache/datafusion

reduce recursion level of unparser part

Open
#19,787 0 comments 0 reactions 1 assignee Claimed by @waynexia View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

Related to https://github.com/apache/datafusion/pull/19109#discussion_r2670731564

### Describe the solution you'd like

Unparser's deep recursion can overflow the stack easily, especially for complex analytical queries like those from tpc-h

### Describe alternatives you've considered

Convert the current implementation to an iterative flavor

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.