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

Fix build "missing field sum_value in initializer of ColumnStatistics" #14345

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jan 28, 2025

Which issue does this PR close?

Closes #14347

Rationale for this change

CI is failing after I merged

https://github.com/apache/datafusion/actions/runs/13018845357/job/36314586166

error[E0063]: missing field `sum_value` in initializer of `ColumnStatistics`
   --> datafusion/physical-plan/src/filter.rs:462:28
    |
462 |                     return ColumnStatistics {
    |                            ^^^^^^^^^^^^^^^^ missing `sum_value`

What changes are included in this PR?

Fix compilation

Are these changes tested?

Are there any user-facing changes?

@alamb alamb changed the title Fix build due to logical error Fix build due to missing field sum_value in initializer of ColumnStatistics`` Jan 28, 2025
@github-actions github-actions bot added the physical-expr Physical Expressions label Jan 28, 2025
@alamb alamb changed the title Fix build due to missing field sum_value in initializer of ColumnStatistics`` Fix build due to missing field sum_value in initializer of ColumnStatistics Jan 28, 2025
@alamb alamb changed the title Fix build due to missing field sum_value in initializer of ColumnStatistics Fix build "missing field sum_value in initializer of ColumnStatistics" Jan 28, 2025
@alamb
Copy link
Contributor Author

alamb commented Jan 28, 2025

Thank you for the quick review @findepi -- I will merge this once it passes tests

@Omega359
Copy link
Contributor

I actually saw this in the extended tests ... I am watching those :)

@adriangb
Copy link
Contributor

Thank you for the quick fix!

Copy link
Contributor

@Rachelint Rachelint 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, thanks @alamb

@Rachelint
Copy link
Contributor

All tests seem passed, let's merge and fix it.

@Rachelint Rachelint merged commit 66b4da2 into apache:main Jan 29, 2025
26 of 30 checks passed
@alamb
Copy link
Contributor Author

alamb commented Jan 29, 2025

Thank you for the quick fix!

Well, I also broke it 😆

I don't want to be lauded as a fire fighter if I was also the one starting the fires 😆 🚒

I saw this a few times in my past lives and it is the wrong incentive

@alamb alamb deleted the alamb/fix_buold branch January 29, 2025 16:22
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.

Ci broken due to field missing of ColumnStatistics
5 participants