Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/iceberg/manifest_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace iceberg {

const StructType& PartitionFieldSummary::Type() {
static const StructType kInstance{{
PartitionFieldSummary::kConsTainsNull,
PartitionFieldSummary::kContainsNull,
PartitionFieldSummary::kContainsNaN,
PartitionFieldSummary::kLowerBound,
PartitionFieldSummary::kUpperBound,
Expand Down
2 changes: 1 addition & 1 deletion src/iceberg/manifest_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct ICEBERG_EXPORT PartitionFieldSummary {
/// values are null or NaN
std::optional<std::vector<uint8_t>> upper_bound;

inline static const SchemaField kConsTainsNull =
inline static const SchemaField kContainsNull =
SchemaField::MakeRequired(509, "contains_null", std::make_shared<BooleanType>(),
"True if any file has a null partition value");
inline static const SchemaField kContainsNaN =
Expand Down
2 changes: 1 addition & 1 deletion src/iceberg/snapshot.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ struct ICEBERG_EXPORT DataOperation {
struct ICEBERG_EXPORT Snapshot {
static constexpr int64_t kInvalidSnapshotId = -1;

/// A unqiue long ID.
/// A unique long ID.
int64_t snapshot_id;
/// The snapshot ID of the snapshot's parent. Omitted for any snapshot with no parent.
std::optional<int64_t> parent_snapshot_id;
Expand Down
8 changes: 5 additions & 3 deletions src/iceberg/table_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ struct ICEBERG_EXPORT MetadataLogEntry {
/// \brief Represents the metadata for an Iceberg table
///
/// Note that it only contains table metadata from the spec. Compared to the Java
/// implementation, missing pieces including: 1) Map<Integer,
/// Schema|PartitionSpec|SortOrder> 2) List<MetadataUpdate> 3) Map<Long, Snapshot> 4)
/// Map<String, SnapshotRef>
/// implementation, missing pieces including:
/// (1) Map<Integer, Schema|PartitionSpec|SortOrder>
/// (2) List<MetadataUpdate>
/// (3) Map<Long, Snapshot>
/// (4) Map<String, SnapshotRef>
struct ICEBERG_EXPORT TableMetadata {
static constexpr int8_t kDefaultTableFormatVersion = 2;
static constexpr int8_t kSupportedTableFormatVersion = 3;
Expand Down
Loading