'Returns only the first row, regardless of how many rows the query
returns.'

def get_first(self, hql, parameters=None):

    try:
        return super(PrestoHook, self).get_first(self._strip_sql(hql), parameters)
    except DatabaseError as e:
        raise PrestoException(self._parse_exception_message(e))
