We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f734d commit 285f7d6Copy full SHA for 285f7d6
src/iceberg/type.h
@@ -84,7 +84,9 @@ class ICEBERG_EXPORT NestedType : public Type {
84
/// \brief Get a field by index.
85
[[nodiscard]] virtual std::optional<std::reference_wrapper<const SchemaField>>
86
GetFieldByIndex(int32_t index) const = 0;
87
- /// \brief Get a field by name.
+ /// \brief Get a field by name (case-sensitive). Behavior is undefined if
88
+ /// the field name is not unique; prefer GetFieldById or GetFieldByIndex
89
+ /// when possible.
90
91
GetFieldByName(std::string_view name) const = 0;
92
};
0 commit comments