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

Remove unused math_expressions.rs #12917

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Remove unused math_expressions.rs #12917

merged 1 commit into from
Oct 14, 2024

Conversation

jonahgao
Copy link
Member

Which issue does this PR close?

N/A

Rationale for this change

Found when reviewing #12889
It should be a leftover from moving math functions.

What changes are included in this PR?

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt) labels Oct 14, 2024
}

#[test]
fn test_isnan_f32() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Converted it to slt test

}

/// Isnan SQL function
pub fn isnan(args: &[ArrayRef]) -> Result<ArrayRef> {
Copy link
Member Author

Choose a reason for hiding this comment

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

Has moved to in datafusion/functions/src/math/nans.rs

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.

Thanks @jonahgao and @simonvandel -- this is a nice cleanup

@alamb alamb merged commit f2564b7 into apache:main Oct 14, 2024
24 checks passed
hailelagi pushed a commit to hailelagi/datafusion that referenced this pull request Oct 14, 2024
@jonahgao jonahgao deleted the remove_math branch October 16, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants