You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/07/26 19:36:05 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #7100: Aggregate Partial mode, bug

alamb commented on issue #7100:
URL: https://github.com/apache/arrow-datafusion/issues/7100#issuecomment-1652378746

   FWIW this query panics like this:
   
   ```
   ❯ SELECT l.col0, LAST_VALUE(r.col1 ORDER BY r.col0) as last_col1
   FROM tab0 as l
   JOIN tab0 as r
   ON l.col0 = r.col0
   GROUP BY l.col0, l.col1, l.col2
   ORDER BY l.col0;
   thread 'thread 'thread 'tokio-runtime-workertokio-runtime-workertokio-runtime-worker' panicked at '' panicked at '' panicked at 'assertion failed: `(left == right)`
     left: `1`,
    right: `2`thread 'assertion failed: `(left == right)`
     left: `1`,
    right: `2`', assertion failed: `(left == right)`
     left: `1`,
    right: `2`', tokio-runtime-worker/Users/alamb/Software/arrow-datafusion2/datafusion/core/src/physical_plan/aggregates/order/partial.rs', ' panicked at '/Users/alamb/Software/arrow-datafusion2/datafusion/core/src/physical_plan/aggregates/order/partial.rs:assertion failed: `(left == right)`
     left: `1`,
    right: `2`/Users/alamb/Software/arrow-datafusion2/datafusion/core/src/physical_plan/aggregates/order/partial.rs114', :::114/Users/alamb/Software/arrow-datafusion2/datafusion/core/src/physical_plan/aggregates/order/partial.rs:1149:9:
   114
   9note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org