martin-g commented on code in PR #18767:
URL: https://github.com/apache/datafusion/pull/18767#discussion_r2536927639
##########
datafusion/expr/src/expr_rewriter/order_by.rs:
##########
@@ -235,18 +241,18 @@ mod test {
TestCase {
desc: r#"min(c2) --> "min(c2)" -- (column *named*
"min(t.c2)"!)"#,
input: sort(min(col("c2"))),
- expected: sort(col("min(t.c2)")),
+ expected: sort(derived_col("min(t.c2)")),
},
TestCase {
desc: r#"c1 + min(c2) --> "c1 + min(c2)" -- (column *named*
"min(t.c2)"!)"#,
Review Comment:
```suggestion
desc: r#"c1 + min(c2) --> "c1 + min(t.c2)" -- (column
*named* "min(t.c2)"!)"#,
```
##########
datafusion/expr/src/expr_rewriter/order_by.rs:
##########
@@ -235,18 +241,18 @@ mod test {
TestCase {
desc: r#"min(c2) --> "min(c2)" -- (column *named*
"min(t.c2)"!)"#,
Review Comment:
```suggestion
desc: r#"min(c2) --> "min(t.c2)" -- (column *named*
"min(t.c2)"!)"#,
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]