Skip to content

Commit

Permalink
Remove TableLayoutHandle completely
Browse files Browse the repository at this point in the history
  • Loading branch information
hellium01 committed Apr 30, 2019
1 parent 2f0bc14 commit 4c07f12
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 97 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.facebook.presto.metadata.Metadata;
import com.facebook.presto.metadata.MetadataManager;
import com.facebook.presto.metadata.TableHandle;
import com.facebook.presto.metadata.TableLayoutHandle;
import com.facebook.presto.spi.ColumnHandle;
import com.facebook.presto.spi.block.SortOrder;
import com.facebook.presto.spi.function.FunctionHandle;
Expand Down Expand Up @@ -98,11 +97,6 @@ public class TestEffectivePredicateExtractor
TestingTransactionHandle.create(),
Optional.of(TestingHandle.INSTANCE));

private static final TableLayoutHandle TESTING_TABLE_LAYOUT = new TableLayoutHandle(
new ConnectorId("x"),
TestingTransactionHandle.create(),
TestingHandle.INSTANCE);

private static final Symbol A = new Symbol("a");
private static final Symbol B = new Symbol("b");
private static final Symbol C = new Symbol("c");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.facebook.presto.execution.warnings.WarningCollector;
import com.facebook.presto.metadata.Metadata;
import com.facebook.presto.metadata.TableHandle;
import com.facebook.presto.metadata.TableLayoutHandle;
import com.facebook.presto.spi.predicate.TupleDomain;
import com.facebook.presto.sql.parser.SqlParser;
import com.facebook.presto.sql.planner.PlanNodeIdAllocator;
Expand Down Expand Up @@ -47,7 +46,6 @@ public class TestValidateStreamingAggregations
private SqlParser sqlParser;
private PlanNodeIdAllocator idAllocator = new PlanNodeIdAllocator();
private TableHandle nationTableHandle;
private TableLayoutHandle nationTableLayoutHandle;

@BeforeClass
public void setup()
Expand All @@ -62,10 +60,6 @@ public void setup()
nationTpchTableHandle,
TestingTransactionHandle.create(),
Optional.of(new TpchTableLayoutHandle(nationTpchTableHandle, TupleDomain.all())));

nationTableLayoutHandle = new TableLayoutHandle(connectorId,
TestingTransactionHandle.create(),
new TpchTableLayoutHandle((TpchTableHandle) nationTableHandle.getConnectorHandle(), TupleDomain.all()));
}

@Test
Expand Down

0 comments on commit 4c07f12

Please sign in to comment.