Skip to content

Commit ac8358b

Browse files
author
xuwei.fu
committed
Minor typo fixes
1 parent b4f7d5b commit ac8358b

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/iceberg/manifest_list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct ICEBERG_EXPORT PartitionFieldSummary {
5252
/// values are null or NaN
5353
std::optional<std::vector<uint8_t>> upper_bound;
5454

55-
inline static const SchemaField kConsTainsNull =
55+
inline static const SchemaField kContainsNull =
5656
SchemaField::MakeRequired(509, "contains_null", std::make_shared<BooleanType>(),
5757
"True if any file has a null partition value");
5858
inline static const SchemaField kContainsNaN =

src/iceberg/snapshot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ struct ICEBERG_EXPORT DataOperation {
234234
struct ICEBERG_EXPORT Snapshot {
235235
static constexpr int64_t kInvalidSnapshotId = -1;
236236

237-
/// A unqiue long ID.
237+
/// A unique long ID.
238238
int64_t snapshot_id;
239239
/// The snapshot ID of the snapshot's parent. Omitted for any snapshot with no parent.
240240
std::optional<int64_t> parent_snapshot_id;

src/iceberg/table_metadata.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ struct ICEBERG_EXPORT MetadataLogEntry {
6969
/// \brief Represents the metadata for an Iceberg table
7070
///
7171
/// Note that it only contains table metadata from the spec. Compared to the Java
72-
/// implementation, missing pieces including: 1) Map<Integer,
73-
/// Schema|PartitionSpec|SortOrder> 2) List<MetadataUpdate> 3) Map<Long, Snapshot> 4)
74-
/// Map<String, SnapshotRef>
72+
/// implementation, missing pieces including:
73+
/// (1) Map<Integer, Schema|PartitionSpec|SortOrder>
74+
/// (2) List<MetadataUpdate>
75+
/// (3) Map<Long, Snapshot>
76+
/// (4) Map<String, SnapshotRef>
7577
struct ICEBERG_EXPORT TableMetadata {
7678
static constexpr int8_t kDefaultTableFormatVersion = 2;
7779
static constexpr int8_t kSupportedTableFormatVersion = 3;

0 commit comments

Comments
 (0)