diff --git a/presto-native-execution/presto_cpp/main/operators/ShuffleInterface.h b/presto-native-execution/presto_cpp/main/operators/ShuffleInterface.h index 3dbfc86c45464..51ac096641f95 100644 --- a/presto-native-execution/presto_cpp/main/operators/ShuffleInterface.h +++ b/presto-native-execution/presto_cpp/main/operators/ShuffleInterface.h @@ -37,11 +37,6 @@ class ShuffleReader { public: virtual ~ShuffleReader() = default; - /// Deprecate, do not use! - virtual bool hasNext() { - return true; - } - /// Reads the next block of data. The function returns null if it has read all /// the data. The function throws if run into any error. virtual velox::BufferPtr next() = 0;