String nodeName = UUID.randomUUID().toString();
nodeManager.addNode("native", new Node(nodeName, new URI("http://127.0.0.1/"), NodeVersion.UNKNOWN));
MetadataManager metadataManager = new MetadataManager();
metadataManager.addConnectorMetadata("local", "local", new NativeMetadata("native", dbi));
tableHandle = metadataManager.createTable("local", new TableMetadata("local", TEST_TABLE));
dsColumnHandle = metadataManager.getColumnHandle(tableHandle, "ds").get();
fooColumnHandle = metadataManager.getColumnHandle(tableHandle, "foo").get();
symbols = ImmutableMap.<Symbol, ColumnHandle>of(new Symbol("foo"), fooColumnHandle, new Symbol("ds"), dsColumnHandle);