Skip to content

Apache DataFusion SQL Query Engine

Update row_number.rs (#12110)

Berkay Şahincafbb044c32f
diff --git a/datafusion/functions-window/src/row_number.rs b/datafusion/functions-window/src/row_number.rs
index aea3d4a59e..43d2796ad7 100644
--- a/datafusion/functions-window/src/row_number.rs
+++ b/datafusion/functions-window/src/row_number.rs
@@ -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),
}