|
27 | 27 | #include <nlohmann/json.hpp> |
28 | 28 |
|
29 | 29 | #include "iceberg/constants.h" |
30 | | -#include "iceberg/expression/json_serde_internal.h" |
31 | | -#include "iceberg/file_format.h" |
32 | 30 | #include "iceberg/json_serde_internal.h" |
33 | | -#include "iceberg/manifest/manifest_entry.h" |
34 | 31 | #include "iceberg/name_mapping.h" |
35 | 32 | #include "iceberg/partition_field.h" |
36 | 33 | #include "iceberg/partition_spec.h" |
|
43 | 40 | #include "iceberg/table_metadata.h" |
44 | 41 | #include "iceberg/table_properties.h" |
45 | 42 | #include "iceberg/table_requirement.h" |
46 | | -#include "iceberg/table_scan.h" |
47 | 43 | #include "iceberg/table_update.h" |
48 | 44 | #include "iceberg/transform.h" |
49 | 45 | #include "iceberg/type.h" |
@@ -229,30 +225,6 @@ constexpr std::string_view kRequirementAssertDefaultSortOrderID = |
229 | 225 | constexpr std::string_view kLastAssignedFieldId = "last-assigned-field-id"; |
230 | 226 | constexpr std::string_view kLastAssignedPartitionId = "last-assigned-partition-id"; |
231 | 227 |
|
232 | | -// FileScanTask / DataFile constants (kSpecId, kSortOrderId, and kFileSizeInBytes |
233 | | -// are already defined above) |
234 | | -constexpr std::string_view kDataFile = "data-file"; |
235 | | -constexpr std::string_view kDeleteFileReferences = "delete-file-references"; |
236 | | -constexpr std::string_view kResidualFilter = "residual-filter"; |
237 | | -constexpr std::string_view kContent = "content"; |
238 | | -constexpr std::string_view kFilePath = "file-path"; |
239 | | -constexpr std::string_view kFileFormat = "file-format"; |
240 | | -constexpr std::string_view kPartition = "partition"; |
241 | | -constexpr std::string_view kRecordCount = "record-count"; |
242 | | -constexpr std::string_view kColumnSizes = "column-sizes"; |
243 | | -constexpr std::string_view kValueCounts = "value-counts"; |
244 | | -constexpr std::string_view kNullValueCounts = "null-value-counts"; |
245 | | -constexpr std::string_view kNanValueCounts = "nan-value-counts"; |
246 | | -constexpr std::string_view kLowerBounds = "lower-bounds"; |
247 | | -constexpr std::string_view kUpperBounds = "upper-bounds"; |
248 | | -constexpr std::string_view kKeyMetadata = "key-metadata"; |
249 | | -constexpr std::string_view kSplitOffsets = "split-offsets"; |
250 | | -constexpr std::string_view kEqualityIds = "equality-ids"; |
251 | | -constexpr std::string_view kFirstRowId = "first-row-id"; |
252 | | -constexpr std::string_view kReferencedDataFile = "referenced-data-file"; |
253 | | -constexpr std::string_view kContentOffset = "content-offset"; |
254 | | -constexpr std::string_view kContentSizeInBytes = "content-size-in-bytes"; |
255 | | - |
256 | 228 | } // namespace |
257 | 229 |
|
258 | 230 | nlohmann::json ToJson(const SortField& sort_field) { |
|
0 commit comments