Skip to content

Conversation

@edmondop
Copy link
Contributor

@edmondop edmondop commented Aug 3, 2024

Which issue does this PR close?

Addresses #11779 . Remove also dead code in moving_min_max

@github-actions github-actions bot added sql SQL Planner logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates optimizer Optimizer rules core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Aug 3, 2024
@edmondop edmondop force-pushed the issue-11779 branch 2 times, most recently from cdcda3f to eb92c73 Compare August 3, 2024 16:17
@github-actions github-actions bot added the substrait Changes to the substrait crate label Aug 3, 2024
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Aug 3, 2024
@edmondop edmondop marked this pull request as ready for review August 3, 2024 18:39
impl Min {
pub fn new() -> Self {
Self {
aliases: vec!["min".to_string()],
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need uppercase alias.

To use uppercase alias the query is something like select "MAX"(a) from t;, which is uncommon.

pub fn new() -> Self {
Self {
aliases: vec!["max".to_string()],
aliases: vec!["MAX".to_string()],
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

pub fn new() -> Self {
Self {
aliases: vec!["max".to_owned()],
aliases: vec!["MAX".to_owned()],
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

@edmondop edmondop requested a review from jayzhan211 August 5, 2024 13:47
Copy link
Contributor

@jayzhan211 jayzhan211 left a comment

Choose a reason for hiding this comment

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

Thanks @edmondop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate documentation Improvements or additions to documentation logical-expr Logical plan and expressions optimizer Optimizer rules physical-expr Changes to the physical-expr crates sql SQL Planner sqllogictest SQL Logic Tests (.slt) substrait Changes to the substrait crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants