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 additional comments for PR 16416 #17869

Closed
yingsu00 opened this issue Jun 13, 2022 · 6 comments
Closed

Address additional comments for PR 16416 #17869

yingsu00 opened this issue Jun 13, 2022 · 6 comments
Assignees

Comments

@yingsu00
Copy link
Contributor

#16416 is waiting to be merged. As per offline discussion, we create this issue to track the nits issue in this PR.

@yingsu00
Copy link
Contributor Author

cc @simmend @nmahadevuni @rongrong

@yingsu00
Copy link
Contributor Author

@nmahadevuni Naveen do you have time to work on this in the next a few days?

@yingsu00
Copy link
Contributor Author

yingsu00 commented Jul 8, 2022

Thanks @harshjk for submitting PR17917 to resolve this issue. This message just tracks the unresolved comments in PR #17917

  1. EquivalenceClassProperty.java, move line 231-232 to the caller
  2. EquivalenceClassProperty.java, remove unnecessary toString() on Expressions in the toString() method
  3. KeyProperty.java Remove line 113 requireNonNull(newKey, "newKey is null");
  4. Replace the builder classes in LogicalPropertiesImpl to static methods
  5. RemoveRedundantAggregateDistinct.java, simplify apply() by replacing the streaming API to for loop. The current implementation is hard to read. Also, @rongrong mentioned to check match once here

@simmend
Copy link
Contributor

simmend commented Jul 9, 2022 via email

@rschlussel
Copy link
Contributor

Commented on #17917, but one other thing to do is to refactor how the Property classes are constructed to make all the Property classes immutable.

@pratyakshsharma
Copy link
Contributor

can we close this issue now that all the PRs are merged @yingsu00 ?

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

No branches or pull requests

6 participants