ajothomas opened a new pull request #1577:
URL: https://github.com/apache/samza/pull/1577


   **Issue:**
   TaskContext.getTable currently upcasts ReadWriteUpdateTable to 
ReadWriteTable. This is incorrect as update(), updateAsync() calls to the 
returned table (ReadWriteUpdateTable) will work when it is not intended to work.
   
   **Changes:**
   Create a delegate class implementing ReadWriteTable which is composed of 
ReadWriteUpdateTable. All method calls are delegated to ReadWriteUpdateTable's 
methods except for update methods.
   
   **Tests**
   ./gradlew build
   


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