Was this helpful?
Python module imports
Containerized Python UDFs
Imported modules must be placed in the II_SYSTEM/ingres/udf/import directory or the directory in udf_engines.conf should be redirected to the location of the import modules on the host machine.
The placement requirement includes system module (like those installed with pip) since these UDFs use the version of Python in the container. Python modules installed in the host machine will not automatically be available to the containerized UDF container.
The container is bundled with the following pre-installed packages:
Numpy
Scipy
Pandas, and
Scikit-learn
Non-containerized Python UDFs
Import module directories should be placed in the python path. A non-containerized Python UDF uses the version of Python installed on the host machine and the modules installed with pip (or another Python installer) will be visible to UDFs.
Last modified date: 08/14/2024