This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7929500608 [typo](docs)The table_function calling reset() function
should set _eos to false #12323
7929500608 is described below
commit 7929500608d8512e523ae158c2d7237a5607e1a1
Author: TaoZex <[email protected]>
AuthorDate: Mon Sep 5 08:29:19 2022 +0800
[typo](docs)The table_function calling reset() function should set _eos to
false #12323
---
be/src/exprs/table_function/table_function.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/exprs/table_function/table_function.h
b/be/src/exprs/table_function/table_function.h
index 93e6220383..6326406e75 100644
--- a/be/src/exprs/table_function/table_function.h
+++ b/be/src/exprs/table_function/table_function.h
@@ -115,7 +115,7 @@ protected:
// true if there is no more data can be read from this function.
bool _eos = false;
// true means the function result set from current row is empty(eg, source
value is null or empty).
- // so that when calling reset(), we can do nothing and keep eos as true.
+ // so that when calling reset(), we can do nothing and keep eos as false.
bool _is_current_empty = false;
// the position of current cursor
int64_t _cur_offset = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]