findepi commented on PR #14668:
URL: https://github.com/apache/datafusion/pull/14668#issuecomment-2666294942

   Added support for out types:
   
   ```rust
   #[excalibur_function]
   fn concat(a: &str, b: &str, out: &mut impl std::fmt::Write) -> 
Result<ValuePresence> {
       if a.is_empty() && b.is_empty() {
           // Be like Oracle
           return Ok(ValuePresence::Null);
       }
       out.write_str(a)?;
       out.write_str(b)?;
       Ok(ValuePresence::Value)
   }
   ```


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

Reply via email to