InMemoryNodeManager nodeManager = new InMemoryNodeManager();
String nodeName = UUID.randomUUID().toString();
nodeManager.addNode("raptor", new PrestoNode(nodeName, new URI("http://127.0.0.1/"), NodeVersion.UNKNOWN));
RaptorConnectorId connectorId = new RaptorConnectorId("raptor");
RaptorMetadata metadata = new RaptorMetadata(connectorId, dbi, shardManager);
tableHandle = metadata.createTable(SESSION, TEST_TABLE);
dsColumnHandle = metadata.getColumnHandle(tableHandle, "ds");