Table of Contents

Search

  1. Preface
  2. Introduction to Transformations
  3. Transformation Ports
  4. Transformation Caches
  5. Address Validator Transformation
  6. Aggregator Transformation
  7. Association Transformation
  8. Bad Record Exception Transformation
  9. Case Converter Transformation
  10. Classifier Transformation
  11. Comparison Transformation
  12. Consolidation Transformation
  13. Data Masking Transformation
  14. Data Processor Transformation
  15. Decision Transformation
  16. Duplicate Record Exception Transformation
  17. Expression Transformation
  18. Filter Transformation
  19. Hierarchical to Relational Transformation
  20. Java Transformation
  21. Java Transformation API Reference
  22. Java Expressions
  23. Joiner Transformation
  24. Key Generator Transformation
  25. Labeler Transformation
  26. Lookup Transformation
  27. Lookup Caches
  28. Dynamic Lookup Cache
  29. Macro Transformation
  30. Match Transformation
  31. Match Transformations in Field Analysis
  32. Match Transformations in Identity Analysis
  33. Normalizer Transformation
  34. Merge Transformation
  35. Parser Transformation
  36. Python Transformation
  37. Rank Transformation
  38. Read Transformation
  39. Relational to Hierarchical Transformation
  40. REST Web Service Consumer Transformation
  41. Router Transformation
  42. Sequence Generator Transformation
  43. Sorter Transformation
  44. SQL Transformation
  45. Standardizer Transformation
  46. Union Transformation
  47. Update Strategy Transformation
  48. Web Service Consumer Transformation
  49. Parsing Web Service SOAP Messages
  50. Generating Web Service SOAP Messages
  51. Weighted Average Transformation
  52. Window Transformation
  53. Write Transformation
  54. Appendix A: Transformation Delimiters

Developer Transformation Guide

Developer Transformation Guide

Rules and Guidelines for Dynamic Lookup Caches

Rules and Guidelines for Dynamic Lookup Caches

Consider the following guidelines when you use a dynamic lookup cache:
  • You must set
    On Multiple Matches
    property to Report Error when you use a dynamic lookup cache. To reset the property, change the dynamic lookup to a static lookup, change the property, and then change the static lookup to a dynamic lookup.
  • You cannot share the cache between a dynamic Lookup transformation and static Lookup transformation in the same target load order group.
  • You can enable a dynamic lookup cache for a relational or flat file lookup.
  • The Lookup transformation must be a connected transformation.
  • You can use a persistent or a non-persistent cache.
  • If the dynamic cache is not persistent, the Integration Service always rebuilds the cache from the database, even if you do not enable
    Re-cache from Lookup Source
    .
  • You can only create an equality lookup condition. You cannot look up a range of data in a dynamic cache.
  • You must associate each lookup port that is not in the lookup condition with an input port, sequence ID, or associated expression.
  • Use a Router transformation to pass rows to the cached target when the NewLookupRow value equals one or two.
  • Use the Router transformation to drop rows when the NewLookupRow value equals zero. Or, you can output the rows to a different target.
  • Verify that the Integration Service outputs the same values to the target that it writes to the lookup cache. When you choose to output new values on update, only connect lookup/output ports to the target table instead of the input/output ports. When you choose to output old values on update, add an Expression transformation after the Lookup transformation and before the Router transformation. Add output ports in the Expression transformation for each port in the target table and create expressions to ensure you do not output null input values to the target.
  • When you use a lookup SQL override, map the correct columns to the appropriate targets for lookup.
  • When you add a WHERE clause to the lookup SQL override, use a Filter transformation before the Lookup transformation. This ensures that the Integration Service inserts rows in the dynamic cache and target table that match the WHERE clause.
  • When you configure a reusable Lookup transformation to use a dynamic cache, you cannot edit the condition or disable the
    Dynamic Lookup Cache
    property in a mapping.
  • Use Update Strategy transformations after the Lookup transformation to flag the rows for insert or update for the target.
  • Use an Update Strategy transformation before the Lookup transformation to define some or all rows as update if you want to use the Update Else Insert property in the Lookup transformation.

0 COMMENTS

We’d like to hear from you!