Skip to content

Commit bc6af9c

Browse files
authored
Modified dtype error info in ArrowDataset (#1756)
1 parent db699c1 commit bc6af9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_io/core/kernels/arrow/arrow_util.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Status GetTensorFlowType(std::shared_ptr<::arrow::DataType> dtype,
4040
::arrow::Status status =
4141
::arrow::adapters::tensorflow::GetTensorFlowType(dtype, out);
4242
if (!status.ok()) {
43-
return errors::InvalidArgument("arrow data type ", dtype,
43+
return errors::InvalidArgument("arrow data type ", dtype->name(),
4444
" is not supported: ", status);
4545
}
4646
return Status::OK();

0 commit comments

Comments
 (0)