This is an automated email from the ASF dual-hosted git repository. dataroaring 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 c3e1b73d15 revert cast_to_string (#10940) c3e1b73d15 is described below commit c3e1b73d155b621bc4c4d3791afea3f2a6d8f503 Author: plat1ko <platonekos...@gmail.com> AuthorDate: Sun Jul 17 18:34:39 2022 +0800 revert cast_to_string (#10940) It leads schema change p0 tests to failure. --- be/src/exec/olap_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/exec/olap_common.h b/be/src/exec/olap_common.h index 154454ff82..abb856cef3 100644 --- a/be/src/exec/olap_common.h +++ b/be/src/exec/olap_common.h @@ -51,7 +51,7 @@ std::string cast_to_string(T value, int scale) { return std::to_string(static_cast<int>(value)); } else if constexpr (primitive_type == TYPE_LARGEINT) { std::stringstream ss; - doris::operator<<(ss, value); + ss << value; return ss.str(); } else { return boost::lexical_cast<std::string>(value); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org