This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 5fcd6e62701 [Fix](load) Fix the incorrect src value printed in the
error log when strict mode is true #39447 (#39587)
5fcd6e62701 is described below
commit 5fcd6e6270156b89aa17d38d019fd11c6130b567
Author: Xin Liao <[email protected]>
AuthorDate: Tue Aug 20 12:02:13 2024 +0800
[Fix](load) Fix the incorrect src value printed in the error log when
strict mode is true #39447 (#39587)
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 afb0fd4298e..4d36263a0e4 100644
--- a/be/src/vec/exec/scan/vfile_scanner.cpp
+++ b/be/src/vec/exec/scan/vfile_scanner.cpp
@@ -630,8 +630,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]