Savonitar commented on PR #30190:
URL: https://github.com/apache/flink/pull/30190#issuecomment-7410213586

   > Before merging, I'd like to sort out the commits. The third commit 
(Document and rename parts of PrefixBoundedIteratorFactory) and the last one 
(Reuse read options for MapState scans) change code that the first commit adds. 
Flink's [pull request 
guide](https://flink.apache.org/how-to-contribute/code-style-and-quality-pull-requests/)
 asks for such commits to be folded into the commit they fix. Also, the first 
commit's message still says that the read options are copied per iterator, 
which is no longer true.
   
   I have not done that before introducing 3rd commit to not break your 
reviewed history and simplify your review since u reviewed 1st commit before. 
   
   > I see two options:
   > You split the PR into two commits:
   first the getPrefixEnd hotfix, since it documents code that existed before 
this PR. Its change to the getPrefixEndLength Javadoc has to move into the main 
commit, because that's where the method is added.
   then the main change, with the third and last commits folded in and its 
message updated.
   I squash everything into one commit with an updated message when merging.
   
   Thanks! I went with option 1 for both PRs (bp2.4 and this one): now has two 
commits: the getPrefixEnd hotfix (the Javadoc and its test cases), and the main 
change with the former third and last commits folded in and an updated message. 
   The content is unchanged: the tree is the same as the head you reviewed. 
   #30241 has the same two commits with the [BP-2.4] prefix.
   


-- 
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]

Reply via email to