sketchOf

fun sketchOf(segmentNumber: Long): SegmentSketch?

The sketch of one segment, or null if it is not covered. For tests and for diagnostics.

Outside the stable core: a SegmentSketch is the .cat sidecar's contents, so its shape is the format's. inferSchema is the stable reading of the same data.