Skip to content

Commit

Permalink
iceberg: add comment about struct field ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
rockwotj committed Oct 1, 2024
1 parent 89d1eba commit c645fc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v/iceberg/values.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ using value = std::variant<
std::unique_ptr<map_value>>;

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

0 comments on commit c645fc5

Please sign in to comment.