alamb commented on code in PR #8806:
URL: https://github.com/apache/arrow-datafusion/pull/8806#discussion_r1446628993
##########
datafusion/physical-expr/src/equivalence/ordering.rs:
##########
@@ -29,11 +29,11 @@ use crate::{LexOrdering, PhysicalExpr, PhysicalSortExpr};
/// |a|b|c|d|
/// |1|4|3|1|
/// |2|3|3|2|
-/// |3|1|2|2|
-/// |3|2|1|3|
+/// |3|2|2|2|
+/// |3|1|1|3|
/// ```
///
-/// Here, both `vec![a ASC, b ASC]` and `vec![c DESC, d ASC]` describe the
table
Review Comment:
I think the original example is not `b ASC` itself, but it is `a ASC, b ASC`
(that is it is first sorted by `a ASC` and then for rows where `a` is the same
then the values are sorted by `b ASC`)
--
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]