We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab52bec commit bc22346Copy full SHA for bc22346
ydb/core/tx/columnshard/engines/reader/abstract/read_context.h
@@ -108,7 +108,7 @@ class IDataReader {
108
virtual void DoAbort() = 0;
109
virtual bool DoIsFinished() const = 0;
110
virtual std::vector<TPartialReadResult> DoExtractReadyResults(const int64_t maxRowsInBatch) = 0;
111
- virtual bool DoReadNextInterval() = 0;
+ virtual TConclusion<bool> DoReadNextInterval() = 0;
112
public:
113
IDataReader(const std::shared_ptr<TReadContext>& context);
114
virtual ~IDataReader() = default;
@@ -156,7 +156,7 @@ class IDataReader {
156
sb << DoDebugString(verbose);
157
return sb;
158
}
159
- bool ReadNextInterval() {
+ [[nodiscard]] TConclusion<bool> ReadNextInterval() {
160
return DoReadNextInterval();
161
162
};
0 commit comments