linhongyu510 commented on issue #2481: URL: https://github.com/apache/age/issues/2481#issuecomment-5487673711
I reproduced this on PostgreSQL 18.6 and opened #2559 as a Draft for design review. The implementation removes only an exact redundant `type(r) = <static label>` predicate, preserves non-redundant/OR/VLE cases, and avoids mutating the original OPTIONAL MATCH AST. Full AGE regression is 42/42 green; a 12-pair, 20,000-edge benchmark reduced the redundant-query median from 4.622 ms to 2.925 ms (1.620x overhead to 0.996x parity). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
