Here we will implement the vector functions for UDFs. **Reporter**: [Vibhatha Lakmal Abeykoon](https://issues.apache.org/jira/browse/ARROW-15646) / @vibhatha <sub>**Note**: *This issue was originally created as [ARROW-15646](https://issues.apache.org/jira/browse/ARROW-15646). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>