Explorer

conformance.test-list-hash-index-buckets

description
Conformance test: list_hash_index puts each record in the bucket (hash of its field) AND (count - 1): 2 buckets, "a" (97) to 1 and "b" (98) to 0
type
Boolean
expression
@core.equal(
  left: @core.list-hash-index(list: [{id: "a", v: 1}, {id: "b", v: 2}], field: "id"),
  right: [[{id: "b", v: 2}], [{id: "a", v: 1}]]
)
visibility
public
conformance.test-list-hash-index-buckets (project definy, branch commit-check, snapshot Jh11inSnBH1eenK5G-juhyzQabT1OLdy3NmjD6OiVCs)
id: QjGSbvtmYBdCZlVWfWoCJp-MkS6wSE-osO_6EQcJ93s
content hash: 9Gu3V2D8ij5VCkT1AdM0HiswY3R3Y5AWGZywOG4ULZo