Skip to content

Conversation

@xudong963
Copy link
Contributor

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Summary about this PR

Closes #10523

@vercel
Copy link

vercel bot commented Mar 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
databend ⬜️ Ignored (Inspect) Mar 15, 2023 at 7:56AM (UTC)

@xudong963 xudong963 marked this pull request as draft March 14, 2023 10:18
@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Mar 14, 2023
@xudong963 xudong963 marked this pull request as ready for review March 14, 2023 11:35
@xudong963 xudong963 requested review from leiysky and sundy-li March 14, 2023 11:36
@sundy-li
Copy link
Member

Need tests to cover the overflow case.

@leiysky
Copy link
Contributor

leiysky commented Mar 14, 2023

I don't think this is a good solution to the issue since it will still fail with a right-deep tree. It's better to introduce a flattened format of join node if you are sticking with this approach.

Maybe you can try to reduce the size of the future to make it possible to recurse more times. Just as #6480 did, which won't introduce any logical modification.

@xudong963 xudong963 force-pushed the fix_join_stackoverflow branch from e38759d to 8fa4f3d Compare March 15, 2023 04:07
@xudong963
Copy link
Contributor Author

xudong963 commented Mar 15, 2023

@leiysky @sundy-li updated, please take a look

@xudong963
Copy link
Contributor Author

Seems stackoverflow at another position when running under cluster

@xudong963
Copy link
Contributor Author

xudong963 commented Mar 15, 2023

Let's move to a new issue to track cluster stackoverflow: #10585

@xudong963 xudong963 merged commit 251cd2f into databendlabs:main Mar 15, 2023
@xudong963 xudong963 deleted the fix_join_stackoverflow branch March 15, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix this PR patches a bug in codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: tpcds q64 stack overflow

3 participants