presto-cassandra/src/main/java/io/prestosql/plugin/cassandra/CassandraRecordCursor.java/CassandraRecordCursor/getDouble
class CassandraRecordCursor:    @Override
    public double getDouble(int i)
    {
        switch (getCassandraType(i)) {
            case DOUBLE:
                return currentRow.getDouble(i);
            case FLOAT:
                return currentRow.getFloat(i);
            case DECIMAL:
                return currentRow.getDecimal(i).doubleValue();
            default:
                throw new IllegalStateException("Cannot retrieve double for " + getCassandraType(i));
        }
    }