From 54395f0e971968279da93f2155e61f66f23b01bb Mon Sep 17 00:00:00 2001 From: Firestarman Date: Fri, 19 Mar 2021 13:27:27 +0800 Subject: [PATCH] error message update Signed-off-by: Firestarman --- java/src/main/native/src/TableJni.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/src/main/native/src/TableJni.cpp b/java/src/main/native/src/TableJni.cpp index 85fbe3cf4bc..43616ea413d 100644 --- a/java/src/main/native/src/TableJni.cpp +++ b/java/src/main/native/src/TableJni.cpp @@ -263,8 +263,7 @@ class native_arrow_ipc_writer_handle final { columns_meta.push_back(build_one_column_meta(*itr, idx)); } if (idx < column_names.size()) { - throw cudf::jni::jni_exception( - "The number of column names is bigger than the columns number in the table."); + throw cudf::jni::jni_exception("Too many column names are provided."); } } return columns_meta;