You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On engine='polars' / 'polars-gpu', a connected comma-pattern that shares a node alias — MATCH (p)-[R1]->(i), (p)-[R2]->(c) WHERE ... (graph-benchmark q5/q6/q7 shape) — crashes with AttributeError: 'DataFrame' object has no attribute 'merge'. The _compile_connected_match_join lowering emits a chain that runs the join via the pandas row pipeline (.merge), which a polars frame does not support.
NO-CHEATING: even if not natively supported, it should raise a clean NotImplementedError pointing at engine='pandas', not an AttributeError from deep in the pipeline.
Fix options
Minimum: make the polars engine detect the connected-join / non-native row-pipeline op and raise a clean NotImplementedError (honest NIE).
Summary
On
engine='polars'/'polars-gpu', a connected comma-pattern that shares a node alias —MATCH (p)-[R1]->(i), (p)-[R2]->(c) WHERE ...(graph-benchmark q5/q6/q7 shape) — crashes withAttributeError: 'DataFrame' object has no attribute 'merge'. The_compile_connected_match_joinlowering emits a chain that runs the join via the pandas row pipeline (.merge), which a polars frame does not support.Impact
NotImplementedErrorpointing atengine='pandas', not anAttributeErrorfrom deep in the pipeline.Fix options
NotImplementedError(honest NIE).Related