Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Access Policy transformation
  6. Aggregator transformation
  7. B2B transformation
  8. Cleanse transformation
  9. Data Masking transformation
  10. Data Services transformation
  11. Deduplicate transformation
  12. Expression transformation
  13. Filter transformation
  14. Hierarchy Builder transformation
  15. Hierarchy Parser transformation
  16. Hierarchy Processor transformation
  17. Input transformation
  18. Java transformation
  19. Java transformation API reference
  20. Joiner transformation
  21. Labeler transformation
  22. Lookup transformation
  23. Machine Learning transformation
  24. Mapplet transformation
  25. Normalizer transformation
  26. Output transformation
  27. Parse transformation
  28. Python transformation
  29. Rank transformation
  30. Router transformation
  31. Rule Specification transformation
  32. Sequence transformation
  33. Sorter transformation
  34. SQL transformation
  35. Structure Parser transformation
  36. Transaction Control transformation
  37. Union transformation
  38. Velocity transformation
  39. Verifier transformation
  40. Web Services transformation

Transformations

Transformations

Lookup source filter

Lookup source filter

You can configure a lookup source filter for a relational Lookup transformation that has caching enabled. Add the lookup source filter to limit the number of lookups that the
mapping
task performs on a lookup source table. When you configure a lookup source filter, the
mapping
task performs lookups based on the results of the filter statement.
To configure a lookup source filter, open the
Advanced
tab of the Lookup transformation, and enter the filter in the
Lookup Source Filter
field. Do not include the WHERE keyword in the filter condition.
For example, you might need to retrieve the last name of every employee whose ID is greater than 510.
You configure the following lookup source filter on the EmployeeID field in the Lookup transformation:
EmployeeID >= 510
When the
mapping
task reads the source row, it performs a lookup on the cache when the value of EmployeeID is greater than 510. When EmployeeID is less than or equal to 510, the Lookup transformation does not retrieve the last name.
When you add a lookup source filter to the Lookup query for a
mapping
task that uses SQL ELT optimization or is based on a mapping in SQL ELT mode, the task creates a view to represent the SQL override. The
mapping
task runs an SQL query against this view to push the transformation logic to the database.
If you configure a lookup source filter and a lookup SQL override in the same transformation, the
mapping
task ignores the filter.

0 COMMENTS

We’d like to hear from you!