Skip to content

Commit 50dba92

Browse files
authored
Merge pull request #23582 from redpanda-data/rockwood/comments-iceberg
iceberg: add comment about struct field ordering
2 parents 89d1eba + c645fc5 commit 50dba92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/v/iceberg/values.h

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ using value = std::variant<
108108
std::unique_ptr<map_value>>;
109109

110110
struct struct_value {
111+
// The order of these fields must align with the corresponding struct type
112+
// as defined in the schema, see `iceberg::struct_type`.
111113
chunked_vector<std::optional<value>> fields;
112114
};
113115
bool operator==(const struct_value&, const struct_value&);

0 commit comments

Comments
 (0)