alamb opened a new issue, #6176:
URL: https://github.com/apache/arrow-rs/issues/6176

   **Describe the bug**
   I found one of the clickbench extended queries panics when using StringView 
-- https://github.com/apache/datafusion/pull/11723
   
   **To Reproduce**
   ```
   > create table foo (id int, x varchar, y varchar) as values (1, 'foo', 
'bar'), (2, 'foo', 'baz');
   0 row(s) fetched.
   Elapsed 0.004 seconds.
   
   > create view foov as select id, arrow_cast(x, 'Utf8View') as x, 
arrow_cast(y, 'Utf8View') as y from foo;
   0 row(s) fetched.
   Elapsed 0.002 seconds.
   
   > select count(distinct x), count(distinct y) from foov group by id;
   thread 'tokio-runtime-worker' panicked at 
/Users/andrewlamb/Software/datafusion2/datafusion/physical-expr-common/src/binary_view_map.rs:220:18:
   internal error: entered unreachable code: Utf8/Binary should use 
`ArrowBytesSet`
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   External error: Join Error
   caused by
   External error: task 65 panicked
   ```
   
   **Expected behavior**
   The query should run without panic
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
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]

Reply via email to