mbutrovich commented on code in PR #17195: URL: https://github.com/apache/datafusion/pull/17195#discussion_r2277380381
########## datafusion/functions/src/regex/regexpreplace.rs: ########## @@ -125,13 +121,13 @@ impl ScalarUDFImpl for RegexpReplaceFunc { fn return_type(&self, arg_types: &[DataType]) -> Result<DataType> { use DataType::*; Ok(match &arg_types[0] { - LargeUtf8 | LargeBinary => LargeUtf8, - Utf8 | Binary => Utf8, - Utf8View | BinaryView => Utf8View, + LargeUtf8 => LargeUtf8, Review Comment: `Binary` and `LargeBinary` weren't in the signature and have no logic to support them. -- 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 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