Skip to content

hsfs.online_config #

OnlineConfig #

Metadata object used to provide online Feature Store configuration information for a feature group.

online_comments property writable #

online_comments: list[str]

List of comments applied to online feature store table.

primary_key_index_type property writable #

primary_key_index_type: str | None

Primary key index type for the online feature store table.

Controls which RonDB index structures back the primary key.

Allowed values
  • "HASH" — Hash-only index. Optimal for point lookups (WHERE pk = ?). Lowest memory footprint and write overhead. Range scans over the primary key are not supported. Choose this for pure online-serving feature groups that only retrieve by exact key.
  • "ORDERED" — Both hash and ordered indexes on the primary key (RonDB default; emitted as PRIMARY KEY (...) with no USING modifier). Supports point lookups via the hash index and range scans via the ordered index. Costs more memory and write throughput than a hash-only index. Choose this when access patterns are mixed or when range scans over the primary key are needed.
  • None (default, unset) — The server applies a TTL-driven fallback: hash-only (USING HASH) when TTL is disabled, and the NDB default (hash + ordered) when TTL is enabled.
Create-only

Set at feature group creation time only. The primary key index type cannot be changed after the table has been created. Changing it would require DROP/ADD PRIMARY KEY which is not in-place safe under concurrent ingestion.

table_space property writable #

table_space: str

Table space of online feature store table for storing data on disk.