Implementing C/C++ Dynamic Shared Libraries with Teradata UDFs

Having worked with Teradata User Installed Files (UIFs) and Java User Defined Functions (UDFs) in the past, I found the courage to finally attempt working with C/C++ UDFs. To make it an interesting learning experience, I set out to achieve the following:

Build the Boost C++ Regex source into a Dynamic Shared C++ Library (.so) and implement a Scalar UDF that utilises this library to parse URLs.

Teradata REGEXP functions are already available within Teradata so this article is by no means attempting…