alamb commented on code in PR #18364: URL: https://github.com/apache/datafusion/pull/18364#discussion_r2475106748
########## datafusion/physical-expr/src/expressions/case.rs: ########## @@ -216,10 +216,11 @@ fn filter_array( /// │└─────────┘│ ├─────────┤ ─────────────────────────▶ ├─────────┤ /// │┌─────────┐│ │ None │ │ NULL │ /// ││ C ││ ├─────────┤ ├─────────┤ -/// │├─────────┤│ │ 2 │ │ C │ -/// ││ D ││ ├─────────┤ ├─────────┤ -/// │└─────────┘│ │ 2 │ │ D │ -/// └───────────┘ └─────────┘ └─────────┘ +/// │└─────────┘│ │ 2 │ │ C │ +/// │┌─────────┐│ ├─────────┤ ├─────────┤ +/// ││ D ││ │ 2 │ │ C │ Review Comment: The fix is that the last entry of `result` should be `C` - not `D` because the last entry in `indices` is also `2` -- 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]
