Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1517#discussion_r52459053
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/RandomAccessInputView.java
 ---
    @@ -45,9 +45,12 @@ public RandomAccessInputView(ArrayList<MemorySegment> 
segments, int segmentSize)
        {
                this(segments, segmentSize, segmentSize);
        }
    -   
    +
    +   /**
    +    * Warning: setReadPosition has to be called before reading.
    +    */
        public RandomAccessInputView(ArrayList<MemorySegment> segments, int 
segmentSize, int limitInLastSegment) {
    --- End diff --
    
    Can you add a new constructor instead of modifying the behavior of this one?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to