Skip to content

Commit

Permalink
Update row_number.rs (#12110)
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaysynnada committed Aug 22, 2024
1 parent 87c1c17 commit cafbb04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/functions-window/src/row_number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ pub fn row_number_udwf() -> std::sync::Arc<datafusion_expr::WindowUDF> {

/// row_number expression
#[derive(Debug)]
struct RowNumber {
pub struct RowNumber {
signature: Signature,
}

impl RowNumber {
/// Create a new `row_number` function
fn new() -> Self {
pub fn new() -> Self {
Self {
signature: Signature::any(0, Volatility::Immutable),
}
Expand Down

0 comments on commit cafbb04

Please sign in to comment.