Table of Contents

Search

  1. Preface
  2. Components
  3. Business services
  4. File listeners
  5. Fixed-width file formats
  6. Hierarchical schemas
  7. Intelligent structure models
  8. Mapplets
  9. Saved queries
  10. Shared sequences
  11. User-defined functions

Components

Components

Editing and deleting user-defined functions

Editing and deleting user-defined functions

Certain restrictions apply when you edit or delete a user-defined function.
Editing a user-defined function can affect the expressions and functions that use it. Consider the following guidelines when you edit a user-defined function:
  • If you edit a user-defined function and the updated function is valid,
    Data Integration
    propagates the changes to all expressions and user-defined functions that use the function.
    Sometimes this can make the expressions and functions that use the user-defined function invalid. For example, you edit a function, change the number of arguments from one to two, and validate the function. Even though the updated function is valid, expressions and functions that use the user-defined function become invalid if they pass one argument to the function.
  • If you edit and save a user-defined function but the updated function is not valid,
    Data Integration
    does not propagate the changes to the expressions and user-defined functions that use it.
  • You cannot rename a user-defined function after you save it.
To delete a user-defined function, you must first remove it from all expressions and functions that use it. You cannot delete a user-defined function that is used in an expression or in another user-defined function.
View the dependencies for the user-defined function to find the assets that use the function.


Updated August 03, 2020