User-Defined Functions (UDFs), User-Defined Types (UDTs), Stored Procedures and External Stored Procedures may execute code that is platform-dependent. Such objects may not recompile or execute correctly when migrated to another platform. UDTs provided by Teradata are platform-independent.
During the Restore operation, UDFs, UDTs, Stored Procedures and External Stored Procedures are recompiled automatically. The Restore operation will complete even if there are compilation failures. However, depending on the failed objects some programs, objects and possibly entire databases may be unusable until the failed objects can be recompiled successfully. If the migration involves different platform types, such as Windows to Linux, Teradata recommends that the customer prepare for the migration by copying a representative sample of the UDTs, UDFs and Stored Procedures to the new platform and recompiling them prior to the actual migration so that any problems during the migration can be easily resolved.