You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: arrow-schema/src/field.rs
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,10 @@ pub struct Field {
38
38
name:String,
39
39
data_type:DataType,
40
40
nullable:bool,
41
+
#[deprecated(
42
+
since = "54.0.0",
43
+
note = "The ability to preserve dictionary IDs will be removed. With it, all fields related to it."
44
+
)]
41
45
dict_id:i64,
42
46
dict_is_ordered:bool,
43
47
/// A map of key-value pairs containing additional custom meta data.
@@ -151,6 +155,10 @@ impl Field {
151
155
}
152
156
153
157
/// Creates a new field that has additional dictionary information
158
+
#[deprecated(
159
+
since = "54.0.0",
160
+
note = "The ability to preserve dictionary IDs will be removed. With the dict_id field disappearing this function signature will change by removing the dict_id parameter."
161
+
)]
154
162
pubfnnew_dict(
155
163
name:implInto<String>,
156
164
data_type:DataType,
@@ -386,6 +394,10 @@ impl Field {
386
394
/// Returns a vector containing all (potentially nested) `Field` instances selected by the
387
395
/// dictionary ID they use
388
396
#[inline]
397
+
#[deprecated(
398
+
since = "54.0.0",
399
+
note = "The ability to preserve dictionary IDs will be removed. With it, all fields related to it."
0 commit comments