Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address extra parens introduced by several visitors. ASTDelayedPredicate detects if a node is already delayed. #1165

Conversation

apmoriarty
Copy link
Collaborator

  • Added RemoveExtraParensVisitor
  • PushdownNegationsVisitor now creates unwrapped And/Or nodes
  • ASTDelayedPredicate will detect already-delayed nodes and subtrees (avoids double delays)

@apmoriarty apmoriarty force-pushed the task/StopDoubleWrappingNodes branch from fde79a5 to 5c3f6ee Compare May 27, 2021 15:20
@apmoriarty apmoriarty force-pushed the task/StopDoubleWrappingNodes branch from 7cd19f6 to 1c357b3 Compare June 21, 2021 10:15
Copy link
Collaborator

@FineAndDandy FineAndDandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call RemoveExtraParensVisitor from TreeFlatteningRebuildingVisitor if a full integration isn't reasonable.

FineAndDandy
FineAndDandy previously approved these changes Jun 22, 2021
@FineAndDandy
Copy link
Collaborator

I like that we got a lot of 'free' unit tests by making this update

@apmoriarty
Copy link
Collaborator Author

I like that we got a lot of 'free' unit tests by making this update

Great suggestion

@ivakegg ivakegg changed the base branch from master to feature/accumulo-2.0 July 15, 2021 19:09
@apmoriarty apmoriarty requested a review from ivakegg July 19, 2021 14:51
@apmoriarty apmoriarty force-pushed the task/StopDoubleWrappingNodes branch from 3e8eb72 to e1441af Compare July 19, 2021 15:09
@apmoriarty apmoriarty changed the base branch from feature/accumulo-2.0 to release/version3.2 July 19, 2021 15:10
@apmoriarty apmoriarty force-pushed the task/StopDoubleWrappingNodes branch from e1441af to 2f1f866 Compare July 19, 2021 16:06
FineAndDandy
FineAndDandy previously approved these changes Jul 19, 2021
@hgklohr hgklohr merged commit ae691b4 into NationalSecurityAgency:release/version3.2 Jul 22, 2021
ivakegg added a commit that referenced this pull request Aug 31, 2021
…edPredicate detects if a node is already delayed. (#1165)"

This reverts commit ae691b4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants