alamb commented on code in PR #5792: URL: https://github.com/apache/arrow-rs/pull/5792#discussion_r1617689385
########## arrow-ord/src/ord.rs: ########## @@ -289,10 +291,21 @@ pub fn build_compare(left: &dyn Array, right: &dyn Array) -> Result<DynComparato /// /// # Postgres-compatible Nested Comparison /// -/// Whilst SQL prescribes ternary logic for nulls, that is comparing a value against a null yields -/// a NULL, many systems, including postgres, instead apply a total ordering to comparison -/// of nested nulls. That is nulls within nested types are either greater than any value, -/// or less than any value (Spark). This could be implemented as below +/// Whilst SQL prescribes ternary logic for nulls, that is comparing a value against a NULL yields +/// a NULL, many systems, including postgres, instead apply a total ordering to comparison of Review Comment: 👍 -- 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]
