yukkit opened a new issue, #7931: URL: https://github.com/apache/arrow-datafusion/issues/7931
### Describe the bug `offset overflow` may occur when I perform an inner join ### To Reproduce ``` ❯ CREATE EXTERNAL TABLE sea STORED AS PARQUET LOCATION 'file:///tmp/data/sea/'; 0 rows in set. Query took 0.009 seconds. ❯ CREATE EXTERNAL TABLE air STORED AS PARQUET LOCATION 'file:///tmp/data/air/'; 0 rows in set. Query took 0.003 seconds. ❯ select count(1) from sea; +-----------------+ | COUNT(Int64(1)) | +-----------------+ | 56642 | +-----------------+ 1 row in set. Query took 0.010 seconds. ❯ select count(1) from air; +-----------------+ | COUNT(Int64(1)) | +-----------------+ | 56642 | +-----------------+ 1 row in set. Query took 0.003 seconds. ❯ SELECT * FROM air INNER JOIN sea ON sea.station = air.station; thread 'tokio-runtime-worker' panicked at 'offset overflow', /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-select-48.0.0/src/take.rs:424:41 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'tokio-runtime-worker' panicked at 'offset overflow', /Users/yukkit/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-select-48.0.0/src/take.rs:424:41 ``` The reason is that there is an overflow during type conversion. https://github.com/apache/arrow-rs/blob/48.0.0/arrow-select/src/take.rs#L424 ### Expected behavior _No response_ ### Additional context git commit: 4881b5db3 I don't have time to deal with this problem at the moment, can anyone help solve it -- 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]
