diff --git a/processing/src/main/java/org/apache/druid/segment/writeout/WriteOutBytes.java b/processing/src/main/java/org/apache/druid/segment/writeout/WriteOutBytes.java index f6a5e71ce93..e1c2972b148 100644 --- a/processing/src/main/java/org/apache/druid/segment/writeout/WriteOutBytes.java +++ b/processing/src/main/java/org/apache/druid/segment/writeout/WriteOutBytes.java @@ -45,7 +45,7 @@ public abstract class WriteOutBytes extends OutputStream implements WritableByte /** * Returns the number of bytes written to this WriteOutBytes so far. */ - public abstract long size() throws IOException; + public abstract long size(); /** * Takes all bytes that are written to this WriteOutBytes so far and writes them into the given channel.