github-actions[bot] commented on code in PR #70871:
URL: https://github.com/apache/doris/pull/70871#discussion_r4666101054
##########
be/src/exec/scan/file_scanner_v2.cpp:
##########
@@ -17,6 +17,7 @@
#include "exec/scan/file_scanner_v2.h"
+#include <bvar/reducer.h>
Review Comment:
[P2] Observe NOT_FOUND in the row-id fetch path
`RowIdStorageReader` calls `FileScannerV2::read_by_rows()` for external
Parquet/ORC files, but `_read_by_rows_wrapped()` directly propagates
`prepare_split()`/`get_block()` errors instead of passing them through
`_observe_split_status()`. If a file disappears between the initial scan and
row-id materialization, the fetch returns `NOT_FOUND` without incrementing
`file_scanner_file_not_found` or emitting the new warning. Observe this path as
well, while preserving its existing error propagation rather than applying the
normal split-skip policy.
##########
be/src/exec/scan/file_scanner_v2.cpp:
##########
@@ -92,6 +93,8 @@ const std::string FileScannerV2::FileReadTimeProfile =
"FileReadTime";
namespace {
+bvar::Adder<uint64_t> file_not_found("file_scanner_file_not_found");
+
std::string table_format_name(const TFileRangeDesc& range);
std::string table_format_name(const TFileRangeDesc& range) {
Review Comment:
[P2] Report the actual missing auxiliary file path
`_observe_split_status()` always labels a `NOT_FOUND` warning with
`_current_range.path`, but Iceberg `prepare_split()` also opens each
position/equality delete file from `TIcebergDeleteFileDesc::path`. When one of
those auxiliary files is missing, the warning's `path=` field names the data
file, which misdirects operators and path-based monitoring. Preserve or
propagate the originating file path so the warning identifies the object that
was actually missing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]