public ColumnMetadata getColumnMetadata(ConnectorTableHandle tableHandle, ConnectorColumnHandle columnHandle)
{
long tableId = checkType(tableHandle, RaptorTableHandle.class, "tableHandle").getTableId();
long columnId = checkType(columnHandle, RaptorColumnHandle.class, "columnHandle").getColumnId();
TableColumn tableColumn = dao.getTableColumn(tableId, columnId);
checkState(tableColumn != null, "no column with id %s exists", columnId);
return tableColumn.toColumnMetadata();
}