Skip to content

Commit bd4b18e

Browse files
authored
docs: fix some grammatical errors for operations comments (#3930)
1 parent e219beb commit bd4b18e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

rust/lance/src/dataset/transaction.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,22 +147,22 @@ pub enum Operation {
147147
/// The fragment reuse index to be created or updated to
148148
frag_reuse_index: Option<Index>,
149149
},
150-
/// Replace data in a column in the dataset with a new data. This is used for
150+
/// Replace data in a column in the dataset with new data. This is used for
151151
/// null column population where we replace an entirely null column with a
152152
/// new column that has data.
153153
///
154154
/// This operation will only allow replacing files that contain the same schema
155-
/// e.g. if the original files contains column A, B, C and the new files contains
156-
/// only column A, B then the operation is not allowed. As we would need to split
155+
/// e.g. if the original files contain columns A, B, C and the new files contain
156+
/// only columns A, B then the operation is not allowed. As we would need to split
157157
/// the original files into two files, one with column A, B and the other with column C.
158158
///
159159
/// Corollary to the above: the operation will also not allow replacing files unless the
160160
/// affected columns all have the same datafile layout across the fragments being replaced.
161161
///
162-
/// e.g. if fragments being replaced contains files with different schema layouts on
162+
/// e.g. if fragments being replaced contain files with different schema layouts on
163163
/// the column being replaced, the operation is not allowed.
164164
/// say frag_1: [A] [B, C] and frag_2: [A, B] [C] and we are trying to replace column A
165-
/// with a new column A the operation is not allowed.
165+
/// with a new column A, the operation is not allowed.
166166
DataReplacement {
167167
replacements: Vec<DataReplacementGroup>,
168168
},

0 commit comments

Comments
 (0)