Table of Contents

Search

  1. Preface
  2. Components
  3. API collections
  4. Business services
  5. File listeners
  6. Fixed-width file formats
  7. Hierarchical schemas
  8. Intelligent structure models
  9. Refining intelligent structure models
  10. Mapplets
  11. Saved queries
  12. Shared sequences
  13. 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.

0 COMMENTS

We’d like to hear from you!