Skip to content

Commit 157579a

Browse files
committed
docs: Refer to lookup file def changes from Registry Entry Reference
1 parent ee8092f commit 157579a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

doc/file_registry_entry.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,11 @@ reghash = {
275275
### `:lookup_on`
276276
[Symbol] column to use as keys in lookup table created from file data
277277

278-
* required if file is used as a lookup source
279-
* You can register the same file multiple times under different file keys with different `:lookup_on` values if you need to use the data for different lookup purposes
278+
* required if file is used as a lookup source in any job AND that job defines this lookup file for use in the job only by its file key
279+
280+
If the output of a given entry is expected to be used as a lookup on only one field, set a `:lookup_on` value in the registry.
281+
282+
If you need to lookup in the output data on different columns, either within one job or in different jobs, this can be achieved by providing more information in the job definition's `files[:lookup]` value. See {Kiba::Extend::Jobs} for details. (Or you can register the same file multiple times under different file keys with different `:lookup_on` values, but yuck to that)
280283

281284
Currently only the following types of registry entries can be used as lookups:
282285

0 commit comments

Comments
 (0)