This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch orc in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/orc by this push: new e52ba909 [Fix] Fix orc decimal128 scale issue. (#132) e52ba909 is described below commit e52ba9094dd8fa3e86e6043e42d6d561fe092d7c Author: Qi Chen <kaka11.c...@gmail.com> AuthorDate: Thu Oct 26 20:17:32 2023 +0800 [Fix] Fix orc decimal128 scale issue. (#132) --- c++/src/ColumnReader.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c++/src/ColumnReader.cc b/c++/src/ColumnReader.cc index e94253e3..2dbe7e32 100644 --- a/c++/src/ColumnReader.cc +++ b/c++/src/ColumnReader.cc @@ -2045,6 +2045,8 @@ namespace orc { skipInternal(idx - previousIdx, readPhase); } readInt128(values[idx]); + scaleInt128(values[idx], static_cast<uint32_t>(scale), + static_cast<int32_t>(scaleBuffer[idx])); previousIdx = idx + 1; } skipInternal(numValues - previousIdx, readPhase); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org