goldmedal opened a new issue, #12618: URL: https://github.com/apache/datafusion/issues/12618
### Is your feature request related to a problem or challenge? While I was working on #12415, I found the `DictionaryString` can't pass the following case in `datafusion/sqllogictest/test_files/string/string_query.slt.part` ``` statement ok create table test_basic_operator as select arrow_cast(column1, 'Dictionary(Int32, Utf8)') as ascii_1, arrow_cast(column2, 'Dictionary(Int32, Utf8)') as ascii_2, arrow_cast(column3, 'Dictionary(Int32, Utf8)') as unicode_1, arrow_cast(column4, 'Dictionary(Int32, Utf8)') as unicode_2 from test_source; query BB SELECT ascii_1 ~* '^a.{3}e', unicode_1 ~* '^d.*Фу' FROM test_basic_operator; ---- true false false false false true NULL NULL ``` I got the error message: ``` External error: query failed: DataFusion error: Internal error: Data type Dictionary(Int32, Utf8) not supported for binary_string_array_flag_op_scalar operation 'regexp_is_match' on string array. This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker ``` ### Describe the solution you'd like Support `DictionaryString` at https://github.com/apache/datafusion/blob/65595cf7f88d5393fded416f8d001a9e90b18169/datafusion/physical-expr/src/expressions/binary.rs#L148-L158 ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org