Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Argument | Description | Data type |
---|---|---|
Lookup name mandatory | Choose the lookup you want to use to enrich your table. | string |
Lookup field mandatory | Choose the lookup field you want to use to enrich your table. | string |
Key mandatory | Choose the table field you want to use to find matches with the lookup key field. | same as lookup key field |
Time mandatory | Choose the table timestamp you want to use to correlate with the lookup timestamp. It identifies the value with the latest timestamp in the lookup before the timestamp in your table. | timestamp |
...
select hlut("Lookup_name", "Lookup_field", Key_field) as new_field
select hlut("Lookup_name", "Lookup_field", Key_field, Timestamp_field) as new_field
Info | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Syntax considerations
|
Example
After performing the operations you need to manipulate your data, such as filtering and grouping operations, you can use the Lookup (hlut) operation to enrich your data with the following time range lookup:
...