You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2020/05/10 05:09:41 UTC
[hive] branch master updated: HIVE-22531 : Fix a couple whitespace
errors in error messages (Jacob Tolar via Ashutosh Chauhan)
This is an automated email from the ASF dual-hosted git repository.
hashutosh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new d12a308 HIVE-22531 : Fix a couple whitespace errors in error messages (Jacob Tolar via Ashutosh Chauhan)
d12a308 is described below
commit d12a30804f17b774cb75c6d0ec32dbc67512975a
Author: Jacob Tolar <ja...@sheckel.net>
AuthorDate: Sat May 9 22:03:14 2020 -0700
HIVE-22531 : Fix a couple whitespace errors in error messages (Jacob Tolar via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
---
.../hive/ql/ddl/table/info/show/tables/ShowTablesOperation.java | 4 ++--
.../apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/show/tables/ShowTablesOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/show/tables/ShowTablesOperation.java
index bb2356a..a776155 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/show/tables/ShowTablesOperation.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/show/tables/ShowTablesOperation.java
@@ -72,7 +72,7 @@ public class ShowTablesOperation extends DDLOperation<ShowTablesDesc> {
try (DataOutputStream os = DDLUtils.getOutputStream(new Path(desc.getResFile()), context)) {
context.getFormatter().showTables(os, tableNames);
} catch (Exception e) {
- throw new HiveException(e, ErrorMsg.GENERIC_ERROR, "in database" + desc.getDbName());
+ throw new HiveException(e, ErrorMsg.GENERIC_ERROR, "in database " + desc.getDbName());
}
}
@@ -91,7 +91,7 @@ public class ShowTablesOperation extends DDLOperation<ShowTablesDesc> {
try (DataOutputStream os = DDLUtils.getOutputStream(new Path(desc.getResFile()), context)) {
context.getFormatter().showTablesExtended(os, tableObjects);
} catch (Exception e) {
- throw new HiveException(e, ErrorMsg.GENERIC_ERROR, "in database" + desc.getDbName());
+ throw new HiveException(e, ErrorMsg.GENERIC_ERROR, "in database " + desc.getDbName());
}
}
}
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java
index f958720..b8b227c 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java
@@ -1222,7 +1222,7 @@ public class SessionHiveMetaStoreClient extends HiveMetaStoreClient implements I
if (partition == null) {
throw new NoSuchObjectException("Partition with partition values " +
(pvals != null ? Arrays.toString(pvals.toArray()) : "null") +
- " for table " + tableName + " in database " + dbName + "and for user " +
+ " for table " + tableName + " in database " + dbName + " and for user " +
userName + " and group names " + (groupNames != null ? Arrays.toString(groupNames.toArray()) : "null") +
" is not found.");
}