Commit 786b1f3b by Aaron Dossett

potential fix for HiveMetaStoreBridge

cleanup commented out code potential fix for HiveMetaStoreBridge cleanup commented out code potential fix for HiveMetaStoreBridge
parent 64c78442
......@@ -203,10 +203,7 @@ public class HiveMetaStoreBridge {
Referenceable dbReferenceable,
Referenceable tableReferenceable,
Referenceable sdReferenceable) throws Exception {
Table table = new Table();
table.setDbName(db);
table.setTableName(tableName);
Set<Partition> tableParts = hiveClient.getAllPartitionsOf(table);
Set<Partition> tableParts = hiveClient.getAllPartitionsOf(new Table(Table.getEmptyTable(db, tableName)));
if (tableParts.size() > 0) {
for (Partition hivePart : tableParts) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment