diff --git a/mindspore/ccsrc/dataset/engine/datasetops/concat_op.cc b/mindspore/ccsrc/dataset/engine/datasetops/concat_op.cc index eb6401409acd541472a74c38d642682b2355042c..7162dc0b4750753a86880a89b1ecb8ca0d9d8828 100644 --- a/mindspore/ccsrc/dataset/engine/datasetops/concat_op.cc +++ b/mindspore/ccsrc/dataset/engine/datasetops/concat_op.cc @@ -79,7 +79,7 @@ Status ConcatOp::operator()() { if (buf->eof() || buf->eoe()) { RETURN_IF_NOT_OK(child_[i]->GetNextBuffer(&buf)); } - // 2. Do varification as for column name, column data type and rank of column data + // 2. Do verification as for column name, column data type and rank of column data RETURN_IF_NOT_OK(Verify(i, buf)); // 3. Put the data into output_connector diff --git a/mindspore/ccsrc/dataset/engine/datasetops/map_op.cc b/mindspore/ccsrc/dataset/engine/datasetops/map_op.cc index cff15ab573649bd2008d534cda3cf94b1193f87a..9136da7a9e5dde28c4e6aff5db9916bc2f60130e 100644 --- a/mindspore/ccsrc/dataset/engine/datasetops/map_op.cc +++ b/mindspore/ccsrc/dataset/engine/datasetops/map_op.cc @@ -292,7 +292,7 @@ Status MapOp::WorkerEntryInit(const DataBuffer *in_buf) { // Before we continue, issue a sanity check to make sure the input columns from user and the incoming // columns from child are correct - this->ValidateInColumns(current_name_id_map); + RETURN_IF_NOT_OK(this->ValidateInColumns(current_name_id_map)); // initialize keep_input_columns, true means to keep the column. keep_input_columns_.resize(num_cols, true);