Ray's Knowledge Base
Unlock

Plugin tables are keyed by name, with columns stored in the provenance record

DecisionVerified 5 Oct 2026Holds project: dftracer-utils
Decision. The context, the choice, why, and the options that were turned down.

Context#

Proposed by the agent; the float-key restriction is not yet confirmed by the user.

Decision#

The plugin table store keys a table by its name, never by its position in using Tables = std::tuple<...>, because reordering the tuple must not change stored identity. Key values go through the existing big-endian, sort-order key codec, so a filter on a key column becomes a key range. The table's columns are stored in the provenance record, so a query can read the table with no plugin loaded: from me.io_timeline.by_time is plain host data with no plugin ABI. A changed column or key changes the description and so makes the data stale with a reason under the provenance rules, with no extra rule.

Floating-point key columns are proposed to be disallowed because of NaN and negative zero ordering (unconfirmed).

Why#

Stored identity must survive source reordering, and the host must read data without loading plugin code.

Rejected options#

  • Keying a table by its tuple position.

Also found by searching

  • are plugin tables keyed by name or tuple position
  • floating-point key columns in plugin tables
  • read plugin table with no plugin loaded
  • changed column or key in a plugin table makes data stale