Skip to content

Commit

Permalink
add comment why descending: false
Browse files Browse the repository at this point in the history
  • Loading branch information
rluvaton committed Dec 14, 2024
1 parent 25af65d commit 3ad250c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions/src/core/least.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use std::any::Any;
use std::sync::{Arc, OnceLock};

const SORT_OPTIONS: SortOptions = SortOptions {
// We want least first
// Decreasing here as we will use lower than or equal to find the smallest value
descending: false,

// NULL will be greater than any other value
Expand Down

0 comments on commit 3ad250c

Please sign in to comment.