PPL143 opened a new issue, #16252:
URL: https://github.com/apache/datafusion/issues/16252
### Describe the bug
Using regex functions or regex logical operators will result to overflow.
### To Reproduce
> CREATE EXTERNAL TABLE bigdata STORED AS CSV LOCATION 'bigdata.csv' OPTIONS
('has_header' 'true');
0 row(s) fetched.
Elapsed 0.007 seconds.
>
CREATE EXTERNAL TABLE find STORED AS CSV LOCATION 'find.csv' OPTIONS
('has_header' 'true');
0 row(s) fetched.
Elapsed 0.001 seconds.
>
select count(1) from bigdata;
+-----------------+
| count(Int64(1)) |
+-----------------+
| 2278791 |
+-----------------+
1 row(s) fetched.
Elapsed 0.023 seconds.
> select count(1) from find;
+-----------------+
| count(Int64(1)) |
+-----------------+
| 27 |
+-----------------+
1 row(s) fetched.
Elapsed 0.001 seconds.
>
select * from bigdata join find ON bigdata.a ~* find.regex;
thread 'tokio-runtime-worker' panicked at
..\index.crates.io-1949cf8c6b5b557f\arrow-select-55.1.0\src\take.rs:480:45:
overflow
### Expected behavior
_No response_
### Additional context
[data.zip](https://github.com/user-attachments/files/20595521/data.zip)
--
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]