We are working on a migration from Oracle to Vertica which involves converting Oracle functions. The customer uses Cognos for reporting where they have a query which calls the Oracle functions presently.
The approach we tried is re-writing the Oracle functions in Vertica using UDX (Python), the problem is that for each report (query) we will end up with multiple cursor calls which hits performance.
Example: For every row in the report we have to fire a select query within udx , so we might fire 1 report query which might have 100 records then we will end up running 1 report query + 100 queries which will be within the function.
Can you please suggest the recommended option for Oracle functions migration?