Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Mar 26, 2024
1 parent 6b06273 commit 2f22da1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ public class HiveCatalog extends AbstractCatalog {
public static final String HIVE_SITE_FILE = "hive-site.xml";

private final HiveConf hiveConf;
private final String clientClassName;
private final HiveClientPool clients;
private final String warehouse;

Expand All @@ -130,7 +129,6 @@ public HiveCatalog(
String warehouse) {
super(fileIO, options);
this.hiveConf = hiveConf;
this.clientClassName = clientClassName;
this.warehouse = warehouse;

boolean needLocationInProperties =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.metastore.HiveMetaStoreClient;
import org.apache.hadoop.hive.metastore.IMetaStoreClient;
import org.apache.hadoop.hive.metastore.api.Table;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -259,7 +258,7 @@ public void testAlterHiveTableParameters() {

Field clientField = HiveCatalog.class.getDeclaredField("clients");
clientField.setAccessible(true);
HiveClientPool clients= (HiveClientPool) clientField.get(catalog);
HiveClientPool clients = (HiveClientPool) clientField.get(catalog);
Table table = clients.run(client -> client.getTable(databaseName, tableName));
Map<String, String> tableProperties = table.getParameters();

Expand Down

0 comments on commit 2f22da1

Please sign in to comment.