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
fix: Replace PatternComprehension panic with proper error handling
- Add LogicalExprError enum with PatternComprehensionNotRewritten variant
- Replace From<T> with TryFrom<T> for all AST-to-logical expression conversions
- Update all recursive calls to use try_from() with error propagation
- Add error type conversions between LogicalExprError and LogicalPlanError
- Add test to verify PatternComprehension returns error instead of panicking
- All 754 library tests pass, no regressions introduced
This prevents server crashes when encountering unsupported PatternComprehension
expressions, improving production reliability while preserving debugging info.
// if start alias already present in ctx map, it means the current nested connected pattern's start node will be connecting at right side plan and end node will be at the left
0 commit comments