Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor DependencyMap and Dependencies into structs #12761

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Oct 4, 2024

Which issue does this PR close?

Related to #12700

Rationale for this change

As part of debugging #12700 I wanted a way to print out the dependency maps in a human readable way, as well as better understand what was going on with dependencies in general

What changes are included in this PR?

  1. Convert DependencyMap and Dependencies from typedefs into structs with methods and documentation
  2. Impl Display with a human readable description

Are these changes tested?

Covered by the existing tets

Are there any user-facing changes?

@github-actions github-actions bot added the physical-expr Physical Expressions label Oct 4, 2024
@alamb alamb force-pushed the alamb/stack_overflow branch from 225571e to f61b74a Compare October 4, 2024 20:20
@alamb alamb changed the title Refactor projection dependency code into structs Refactor DependencyMap and Dependencies into structs Oct 4, 2024
@alamb alamb force-pushed the alamb/stack_overflow branch from f61b74a to f24f9b9 Compare October 4, 2024 20:33
@alamb alamb force-pushed the alamb/stack_overflow branch from af65935 to aae82c1 Compare October 7, 2024 12:58
@alamb alamb marked this pull request as ready for review October 7, 2024 17:36
@alamb alamb requested a review from berkaysynnada October 7, 2024 17:36
Copy link
Contributor

@berkaysynnada berkaysynnada left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @alamb

datafusion/physical-expr/src/equivalence/properties.rs Outdated Show resolved Hide resolved
alamb and others added 2 commits October 8, 2024 06:45
@alamb alamb merged commit a769025 into apache:main Oct 8, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants