Skip to content

Commit 471b949

Browse files
committed
formatter
1 parent bf82adb commit 471b949

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

‎be/src/format_v2/table/lance_reader.cpp‎

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ Status LanceTableReader::init(TableReadOptions&& options) {
8888
LANCE_TIMING_PROFILE);
8989
_arrow_to_doris_block_time = add_lance_counter(_scanner_profile, "LanceArrowToDorisBlockTime",
9090
TUnit::TIME_NS, LANCE_TIMING_PROFILE);
91-
_data_cache_bytes_read_from_cache = add_lance_counter(
92-
_scanner_profile, "LanceDataCacheBytesReadFromCache", TUnit::BYTES,
93-
LANCE_DATA_CACHE_PROFILE);
94-
_data_cache_bytes_read_from_remote = add_lance_counter(
95-
_scanner_profile, "LanceDataCacheBytesReadFromRemote", TUnit::BYTES,
96-
LANCE_DATA_CACHE_PROFILE);
91+
_data_cache_bytes_read_from_cache =
92+
add_lance_counter(_scanner_profile, "LanceDataCacheBytesReadFromCache", TUnit::BYTES,
93+
LANCE_DATA_CACHE_PROFILE);
94+
_data_cache_bytes_read_from_remote =
95+
add_lance_counter(_scanner_profile, "LanceDataCacheBytesReadFromRemote", TUnit::BYTES,
96+
LANCE_DATA_CACHE_PROFILE);
9797
if (_search_kind != SearchKind::NORMAL) {
9898
RETURN_IF_ERROR(_validate_external_search_request());
9999
const auto& request = lance_scan_params.external_search_request;
@@ -640,11 +640,11 @@ void LanceTableReader::_init_scanner_profile() {
640640

641641
_scanner_configure_time = add_lance_counter(_scanner_profile, "LanceScannerConfigureTime",
642642
TUnit::TIME_NS, LANCE_TIMING_PROFILE);
643-
_runtime_filter_sql_translation_time = add_lance_counter(
644-
_scanner_profile, "LanceRuntimeFilterSqlTranslationTime", TUnit::TIME_NS,
645-
LANCE_TIMING_PROFILE);
643+
_runtime_filter_sql_translation_time =
644+
add_lance_counter(_scanner_profile, "LanceRuntimeFilterSqlTranslationTime",
645+
TUnit::TIME_NS, LANCE_TIMING_PROFILE);
646646
_scanner_next_time = add_lance_counter(_scanner_profile, "LanceScannerNextTime", TUnit::TIME_NS,
647-
LANCE_TIMING_PROFILE);
647+
LANCE_TIMING_PROFILE);
648648
_execution_iops =
649649
add_lance_counter(_scanner_profile, "LanceIOReadOps", TUnit::UNIT, LANCE_IO_PROFILE);
650650
_execution_requests = add_lance_counter(_scanner_profile, "LanceIOReadRequests", TUnit::UNIT,
@@ -653,9 +653,8 @@ void LanceTableReader::_init_scanner_profile() {
653653
add_lance_counter(_scanner_profile, "LanceIOReadBytes", TUnit::BYTES, LANCE_IO_PROFILE);
654654
_index_object_loads = add_lance_counter(_scanner_profile, "LanceIndexObjectLoads", TUnit::UNIT,
655655
LANCE_INDEX_PROFILE);
656-
_index_components_loaded =
657-
add_lance_counter(_scanner_profile, "LanceIndexComponentsLoaded", TUnit::UNIT,
658-
LANCE_INDEX_PROFILE);
656+
_index_components_loaded = add_lance_counter(_scanner_profile, "LanceIndexComponentsLoaded",
657+
TUnit::UNIT, LANCE_INDEX_PROFILE);
659658
_index_comparisons = add_lance_counter(_scanner_profile, "LanceIndexComparisons", TUnit::UNIT,
660659
LANCE_INDEX_PROFILE);
661660

0 commit comments

Comments
 (0)