Skip to content
Snippets Groups Projects
Unverified Commit 3f7ad2f8 authored by Yichen Wang's avatar Yichen Wang Committed by GitHub
Browse files

Rewrite unaryNot EXPR (#803)

* Add RewriteUnaryNotExprVisitor

* fix logical expression

* add TODO tck case

* Add UTs for RewriteUnaryNotExprVisitor and fix nested situation

* Fix format

* Add implementation for RewriteUnaryNotExprVisitor

* Fix memory leak

* Clean up

* Add implementation for container visitor

* Add UTs for container expr

* Add UnaryNot visitor rules to reduce relational expr and add UTs

* Replace unique ptr with ptr

* Refactor RewriteUnaryNotExprVisitor implementation

Address comments and clean up

Fix memory leak

* Add implementation to reduce the combination of logical expr and unary expr.

* Address comments and move helper functions to ExpressionUtils

Modify whereClauseCtx and fix tests

Address Yee's comments

* Modify function signature

* Move expr helper functions to common

* Revert test
parent ad355b58
No related branches found
No related tags found
No related merge requests found
Showing
with 934 additions and 108 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment