module TrinoDuration

Parsing and comparison for the Trino duration strings the app both sends to the engine (a step’s retention_threshold) and configures on it (the connector’s min-retention floors).

The two are compared at validation time so a step whose retention is below the configured floor is rejected on save, naming the floor, instead of failing mid-chain hours later with Trino’s own error.