Skip to content

Conversation

@zachmu
Copy link
Member

@zachmu zachmu commented Nov 4, 2025

This PR adds a new trace logging level to the Analyzer, which is only used in the join planning phase. Various new debug print methods are added to ExprGroup.

Adds an pseudo-extension point for SplitConjunction's use in join planning, which is necessary to properly detect the join conditions for use in indexes in Doltgres.

Finally, introduces several iterator methods for ExprGroup and related objects.

@zachmu zachmu marked this pull request as ready for review November 4, 2025 21:53
@zachmu zachmu requested a review from angelamayxie November 4, 2025 21:58
}

m.Tracer.Log("Starting cost-based optimization for groups %s", m)
if m.Tracer.TraceEnabled {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this check needed here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess not actually

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remove it

@zachmu zachmu merged commit 5d0fdbd into main Nov 6, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants