Skip to content

Conversation

@vkverma9534
Copy link

The Session trait implementation for SessionState accidentally called its own trait methods (e.g. self.session_id()), causing infinite recursion and stack overflow at runtime.

This change fixes the issue by explicitly calling the corresponding inherent SessionState methods using fully qualified syntax. No behavior changes intended beyond removing the recursion bug.

This appears to be unintended recursion. I can also add a small regression test if that helps confirm intent.

The Session trait implementation for SessionState accidentally called its own trait methods (e.g. self.session_id()), causing infinite recursion and stack overflow at runtime.

This change fixes the issue by explicitly calling the corresponding inherent SessionState methods using fully qualified syntax. No behavior changes intended beyond removing the recursion bug.
@github-actions github-actions bot added the core Core DataFusion crate label Feb 4, 2026
@Jefffrey
Copy link
Contributor

Jefffrey commented Feb 4, 2026

Do we have a reproducer for this? I'm fairly sure Rust/Clippy will warn us of infinite recursion in cases like this; I also took a look and rust-analyzer seems to resolve the function properly 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants