@@ -129,9 +129,9 @@ FileStoreCommitImpl::FileStoreCommitImpl(
129129 num_bucket_(options.GetBucket()),
130130 bucket_mode_(ResolveBucketMode(options.GetBucket(), table_schema)),
131131 table_schema_(table_schema),
132- commit_scanner_(snapshot_manager, schema_manager, manifest_list, manifest_file,
133- index_manifest_file, table_schema, schema, options, executor, pool,
134- partition_computer_.get(), std::move(scan_supplier)),
132+ commit_scanner_(snapshot_manager, schema_manager, manifest_list, manifest_file,
133+ index_manifest_file, table_schema, schema, options, executor, pool,
134+ partition_computer_.get(), std::move(scan_supplier)),
135135 conflict_detection_(table_schema, options, snapshot_manager_, manifest_list, manifest_file),
136136 manifest_file_(manifest_file),
137137 manifest_list_(manifest_list),
@@ -448,10 +448,10 @@ Status FileStoreCommitImpl::ExecuteOverwrite(
448448 }
449449
450450 if (!skip_overwrite) {
451- PAIMON_ASSIGN_OR_RAISE (int32_t cnt,
452- TryOverwrite (overwrite_partitions, changes-> append_table_files ,
453- changes->append_index_files , identifier, watermark ,
454- properties));
451+ PAIMON_ASSIGN_OR_RAISE (
452+ int32_t cnt ,
453+ TryOverwrite (overwrite_partitions, changes->append_table_files ,
454+ changes-> append_index_files , identifier, watermark, properties));
455455 *attempt += cnt;
456456 *generated_snapshot += 1 ;
457457 }
@@ -482,8 +482,7 @@ Result<std::vector<ManifestEntry>> FileStoreCommitImpl::GetAllFiles(
482482Result<std::map<std::string, std::string>> FileStoreCommitImpl::PartitionToMap (
483483 const BinaryRow& partition) const {
484484 std::vector<std::pair<std::string, std::string>> part_values;
485- PAIMON_ASSIGN_OR_RAISE (part_values,
486- partition_computer_->GeneratePartitionVector (partition));
485+ PAIMON_ASSIGN_OR_RAISE (part_values, partition_computer_->GeneratePartitionVector (partition));
487486 std::map<std::string, std::string> partition_map;
488487 for (const auto & [key, value] : part_values) {
489488 partition_map[key] = value;
@@ -649,9 +648,8 @@ Result<int32_t> FileStoreCommitImpl::TryCommit(const std::vector<ManifestEntry>&
649648
650649Result<int32_t > FileStoreCommitImpl::TryCommit (
651650 const std::shared_ptr<CommitChangesProvider>& changes_provider, int64_t identifier,
652- std::optional<int64_t > watermark,
653- const std::map<std::string, std::string>& properties, Snapshot::CommitKind commit_kind,
654- bool detect_conflicts) {
651+ std::optional<int64_t > watermark, const std::map<std::string, std::string>& properties,
652+ Snapshot::CommitKind commit_kind, bool detect_conflicts) {
655653 conflict_detection_.SetRowIdCheckFromSnapshot (std::nullopt );
656654 int32_t retry_count = 0 ;
657655 int64_t start_millis = DateTimeUtils::GetCurrentUTCTimeUs () / 1000 ;
0 commit comments