KEYSET

All functions > BIND > KEYSET

Defines a keyset.

Syntax

KEYSET(name, entity, query)
sql

Arguments

ParameterTypeRequiredDescription
nameVARCHARYesThe name identifier for this keyset
entityENTITYYesThe entity type this keyset represents
queryVARCHARYesSQL query defining how to retrieve the keyset

Returns

A table representing the defined keyset

Notes

  • Creates a named keyset definition for entity keys
  • Keysets define collections of entity identifiers for batch processing
  • The query parameter specifies how to retrieve entity keys
  • Used as a reusable reference for batch feature computation
  • Enables efficient materialization of features for multiple entities
  • Part of the FeatureMesh keyset and binding system
  • Keysets can be referenced by name in BIND_KEYSET operations
Last update at: 2025/10/13 10:23:46