You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by al...@apache.org on 2024/08/22 18:10:41 UTC

(datafusion) branch main updated: Update row_number.rs (#12110)

This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new cafbb044c3 Update row_number.rs (#12110)
cafbb044c3 is described below

commit cafbb044c32f1e79246fe907e905c1b26c570b47
Author: Berkay Şahin <12...@users.noreply.github.com>
AuthorDate: Thu Aug 22 21:10:36 2024 +0300

    Update row_number.rs (#12110)
---
 datafusion/functions-window/src/row_number.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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),
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org