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

Avoid O(n^2) check when loading StaticPartitionsDefinitions #15728

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

OwenKephart
Copy link
Contributor

Summary & Motivation

On closer inspection, it seems like this is a case of an accidental indent, as the original logic would not actually work in cases where there were multiple duplicate keys.

How I Tested These Changes

Copy link
Collaborator

@smackesey smackesey left a comment

Choose a reason for hiding this comment

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

🤦 good find 🙏

@OwenKephart OwenKephart merged commit fdd4ca3 into master Aug 8, 2023
@OwenKephart OwenKephart deleted the owen/faster-duplicate-check branch August 8, 2023 15:47
Ramshackle-Jamathon pushed a commit that referenced this pull request Aug 8, 2023
## Summary & Motivation

On closer inspection, it seems like this is a case of an accidental
indent, as the original logic would not actually work in cases where
there were multiple duplicate keys.

## How I Tested These Changes
PedramNavid pushed a commit that referenced this pull request Sep 12, 2023
## Summary & Motivation

On closer inspection, it seems like this is a case of an accidental
indent, as the original logic would not actually work in cases where
there were multiple duplicate keys.

## How I Tested These Changes
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.

2 participants