Skip to content

gfql polars: the seeded lane declines alias-collision shapes its predicate admits (29 ms full chain vs 1.9 ms pandas) #2063

Description

@lmeyerov

Found by the route harness (#2061, attenuation ledger) and the SNB sentinel at master 86de0f5.

What. polars_seeded_lane_admits (the polars seeded lane's shape gate) admits single-hop shapes whose alias collides with a column ([n({"id": 30}, name="m"), e_forward({"type": "HAS_CREATOR"}, name="type"), n(name="p")] and the other 9 alias-collision shapes in the collision matrix), but _try_seeded_chain_polars declines them in its body, so they run the full polars chain. The harness records each as xfail: admitted by the predicate, declined by the lane body; the serve-ratio pin passes only because the corpus has more served shapes than declined ones.

Cost. SNB point-latency sentinel (SF0.1, dgx-spark, run snb-sentinel-86de0f5d5-r2-r1): polars/native-hop-alias-collision 29.3 ms median (served=false) against pandas/native-hop-alias-collision 1.9 ms and polars/native-named-hop 6.7 ms. The point was a known error until #2046; pyg-bench now bounds it at 60 ms with this issue as the note.

Expected. Either the lane serves alias-collision shapes (the pandas/cuDF lane does, marker-authoritative after #2046) or the predicate declines them so the gate describes the lane. The harness cells flip from xfail to pass when the lane serves.

Pins. graphistry/tests/compute/gfql/routes/test_route_harness.py (polars-seeded × collision.served / routes.corpus alias shapes), pyg-bench benchmarks/snb_point_latency/thresholds.json (polars/native-hop-alias-collision).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions