mustafasrepo commented on code in PR #6703:
URL: https://github.com/apache/arrow-datafusion/pull/6703#discussion_r1238405451
##########
datafusion/core/src/execution/context.rs:
##########
@@ -786,6 +786,20 @@ impl SessionContext {
.insert(f.name.clone(), Arc::new(f));
}
+ /// Registers an window UDF within this context.
+ ///
+ /// Note in SQL queries, window function names are looked up using
+ /// lowercase unless the query uses quotes. For example,
+ ///
+ /// - `SELECT MY_UDWF(x)...` will look for a window function named
`"my_uwaf"`
Review Comment:
```suggestion
/// - `SELECT MY_UDWF(x)...` will look for a window function named
`"my_udwf"`
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]