Skip to content

Conversation

@2010YOUY01
Copy link
Contributor

Which issue does this PR close?

Closes #5762.

Rationale for this change

NA

What changes are included in this PR?

  1. Removed optimize_children()
  2. Replaced optimize_children() withmap_children() in aggregate_statistics.rs
    (Also changed argument from config to _config to fix linter error)

Are these changes tested?

This is a refactor inside optimize(), this function is already covered by existing tests

Are there any user-facing changes?

No

@github-actions github-actions bot added the core Core DataFusion crate label Apr 13, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thank you @2010YOUY01

There appears to be a conflict now with this PR -- can you please resolve that?

Also I think the doctest CI failure will be resolved by merging up from main (it was fixed by @yjshen in #5989)

Copy link
Member

@jackwener jackwener left a comment

Choose a reason for hiding this comment

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

Thanks!

@jackwener jackwener merged commit ebb8390 into apache:main Apr 14, 2023
@mingmwang
Copy link
Contributor

👍

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.

Remove optimize_children and replace with map_children

4 participants