A UDF can be defined to allow parallel processing.
This means that the same UDF program can be running in multiple threads at the same time. Therefore, if ALLOW PARALLEL is specified for the UDF, ensure that it is thread safe.
User-defined table functions cannot run in parallel; therefore, DISALLOW PARALLEL must be specified when creating the function