@@ -1753,7 +1753,7 @@ Result<std::unique_ptr<TableRequirement>> TableRequirementFromJson(
17531753
17541754Result<DataFile> DataFileFromJson (
17551755 const nlohmann::json& json,
1756- const std::unordered_map<int32_t , std::shared_ptr<PartitionSpec>>& partitionSpecById ,
1756+ const std::unordered_map<int32_t , std::shared_ptr<PartitionSpec>>& partition_spec_by_id ,
17571757 const Schema& schema) {
17581758 if (!json.is_object ()) {
17591759 return JsonParseError (" DataFile must be a JSON object: {}" , SafeDumpJson (json));
@@ -1788,8 +1788,8 @@ Result<DataFile> DataFileFromJson(
17881788 SafeDumpJson (partition_vals));
17891789 }
17901790 std::vector<Literal> literals;
1791- auto it = partitionSpecById .find (df.partition_spec_id .value_or (-1 ));
1792- if (it == partitionSpecById .end ()) {
1791+ auto it = partition_spec_by_id .find (df.partition_spec_id .value_or (-1 ));
1792+ if (it == partition_spec_by_id .end ()) {
17931793 return JsonParseError (" Invalid partition spec id: {}" ,
17941794 df.partition_spec_id .value_or (-1 ));
17951795 }
@@ -1897,7 +1897,7 @@ Result<DataFile> DataFileFromJson(
18971897Result<std::vector<std::shared_ptr<FileScanTask>>> FileScanTasksFromJson (
18981898 const nlohmann::json& json,
18991899 const std::vector<std::shared_ptr<DataFile>>& delete_files,
1900- const std::unordered_map<int32_t , std::shared_ptr<PartitionSpec>>& partitionSpecById ,
1900+ const std::unordered_map<int32_t , std::shared_ptr<PartitionSpec>>& partition_spec_by_id ,
19011901 const Schema& schema) {
19021902 if (!json.is_array ()) {
19031903 return JsonParseError (" Cannot parse file scan tasks from non-array: {}" ,
@@ -1913,7 +1913,7 @@ Result<std::vector<std::shared_ptr<FileScanTask>>> FileScanTasksFromJson(
19131913 ICEBERG_ASSIGN_OR_RAISE (auto data_file_json,
19141914 GetJsonValue<nlohmann::json>(task_json, kDataFile ));
19151915 ICEBERG_ASSIGN_OR_RAISE (auto data_file,
1916- DataFileFromJson (data_file_json, partitionSpecById , schema));
1916+ DataFileFromJson (data_file_json, partition_spec_by_id , schema));
19171917
19181918 std::vector<std::shared_ptr<DataFile>> task_delete_files;
19191919 if (task_json.contains (kDeleteFileReferences ) &&
0 commit comments