From 6421ff32e0865737e195235761441644e11ac6b9 Mon Sep 17 00:00:00 2001 From: xiaoxmeng Date: Wed, 10 Jan 2024 23:22:42 -0800 Subject: [PATCH] [native] Remove ShuffleReader::hasNext api --- .../presto_cpp/main/operators/ShuffleInterface.h | 5 ----- 1 file changed, 5 deletions(-) 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;