airflow/hooks/presto_hook.py
def get_records(self, hql, parameters=None):
        """
        Get a set of records from Presto
        """
        try:
            return super().get_records(
                self._strip_sql(hql), parameters)
        except DatabaseError as e:
            raise PrestoException(self._get_pretty_exception_message(e))
def get_records(self, hql, parameters=None):
        """
        Get a set of records from Presto
        """
        try:
            return super().get_records(
                self._strip_sql(hql), parameters)
        except DatabaseError as e:
            raise PrestoException(self._get_pretty_exception_message(e))
Get a set of records from Presto