Aggarwal-Raghav commented on code in PR #6228:
URL: https://github.com/apache/hive/pull/6228#discussion_r2599814690
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/catalog/desc/DescCatalogFormatter.java:
##########
@@ -66,27 +66,24 @@ static class TextDescCatalogFormatter extends
DescCatalogFormatter {
void showCatalogDescription(DataOutputStream out, String catalog, String
comment, String location,
int createTime) throws HiveException {
try {
- writeLine(out, "Catalog Name", catalog);
+ out.write(catalog.getBytes(StandardCharsets.UTF_8));
Review Comment:
changes are made similar to
`org.apache.hadoop.hive.ql.ddl.database.desc.DescDatabaseFormatter.TextDescDatabaseFormatter()`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]