This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 33657e3675e [Fix](load) Fix the incorrect src value printed in the
error log when strict mode is true #39447 (#39588)
33657e3675e is described below
commit 33657e3675e18afb94a6058844425cace2d4887f
Author: Xin Liao <[email protected]>
AuthorDate: Tue Aug 20 12:01:44 2024 +0800
[Fix](load) Fix the incorrect src value printed in the error log when
strict mode is true #39447 (#39588)
cherry pick from #39447
---
be/src/vec/exec/scan/vfile_scanner.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/be/src/vec/exec/scan/vfile_scanner.cpp
b/be/src/vec/exec/scan/vfile_scanner.cpp
index 68075525d56..520eae1d70c 100644
--- a/be/src/vec/exec/scan/vfile_scanner.cpp
+++ b/be/src/vec/exec/scan/vfile_scanner.cpp
@@ -556,8 +556,11 @@ Status VFileScanner::_convert_to_output_block(Block*
block) {
_num_of_columns_from_file);
},
[&]() -> std::string {
- auto raw_value =
_src_block_ptr->get_by_position(ctx_idx)
-
.column->get_data_at(i);
+ auto raw_value =
+ _src_block_ptr
+
->get_by_position(_dest_slot_to_src_slot_index
+
[dest_index])
+ .column->get_data_at(i);
std::string raw_string =
raw_value.to_string();
fmt::memory_buffer error_msg;
fmt::format_to(error_msg,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]