File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ ManifestEntryAdapterV2::ManifestEntryAdapterV2(
3636
3737std::shared_ptr<Schema> ManifestEntryAdapterV2::EntrySchema (
3838 std::shared_ptr<StructType> partition_type) {
39- return WrapFileSchema (FileType (std::move (partition_type)));
39+ return WrapFileSchema (DataFileType (std::move (partition_type)));
4040}
4141std::shared_ptr<Schema> ManifestEntryAdapterV2::WrapFileSchema (
4242 std::shared_ptr<StructType> file_schema) {
@@ -49,7 +49,7 @@ std::shared_ptr<Schema> ManifestEntryAdapterV2::WrapFileSchema(
4949 ManifestEntry::kDataFileField , std::move (file_schema)),
5050 });
5151}
52- std::shared_ptr<StructType> ManifestEntryAdapterV2::FileType (
52+ std::shared_ptr<StructType> ManifestEntryAdapterV2::DataFileType (
5353 std::shared_ptr<StructType> partition_type) {
5454 return std::make_shared<StructType>(std::vector<SchemaField>{
5555 DataFile::kContent .AsRequired (),
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ class ManifestEntryAdapterV2 : public ManifestEntryAdapter {
3636
3737 static std::shared_ptr<Schema> EntrySchema (std::shared_ptr<StructType> partition_type);
3838 static std::shared_ptr<Schema> WrapFileSchema (std::shared_ptr<StructType> file_schema);
39- static std::shared_ptr<StructType> FileType (std::shared_ptr<StructType> partition_type);
39+ static std::shared_ptr<StructType> DataFileType (
40+ std::shared_ptr<StructType> partition_type);
4041
4142 protected:
4243 Result<std::optional<int64_t >> GetSequenceNumber (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ ManifestEntryAdapterV3::ManifestEntryAdapterV3(
3737
3838std::shared_ptr<Schema> ManifestEntryAdapterV3::EntrySchema (
3939 std::shared_ptr<StructType> partition_type) {
40- return WrapFileSchema (FileType (std::move (partition_type)));
40+ return WrapFileSchema (DataFileType (std::move (partition_type)));
4141}
4242
4343std::shared_ptr<Schema> ManifestEntryAdapterV3::WrapFileSchema (
@@ -52,7 +52,7 @@ std::shared_ptr<Schema> ManifestEntryAdapterV3::WrapFileSchema(
5252 });
5353}
5454
55- std::shared_ptr<StructType> ManifestEntryAdapterV3::FileType (
55+ std::shared_ptr<StructType> ManifestEntryAdapterV3::DataFileType (
5656 std::shared_ptr<StructType> partition_type) {
5757 return std::make_shared<StructType>(std::vector<SchemaField>{
5858 DataFile::kContent .AsRequired (),
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ class ManifestEntryAdapterV3 : public ManifestEntryAdapter {
3737
3838 static std::shared_ptr<Schema> EntrySchema (std::shared_ptr<StructType> partition_type);
3939 static std::shared_ptr<Schema> WrapFileSchema (std::shared_ptr<StructType> file_schema);
40- static std::shared_ptr<StructType> FileType (std::shared_ptr<StructType> partition_type);
40+ static std::shared_ptr<StructType> DataFileType (
41+ std::shared_ptr<StructType> partition_type);
4142
4243 protected:
4344 Result<std::optional<int64_t >> GetSequenceNumber (
You can’t perform that action at this time.
0 commit comments