eladkal commented on a change in pull request #21479:
URL: https://github.com/apache/airflow/pull/21479#discussion_r807296380
##########
File path: airflow/providers/trino/hooks/trino.py
##########
@@ -138,9 +138,17 @@ def get_pandas_df(self, hql, parameters=None, **kwargs):
df = pandas.DataFrame(**kwargs)
return df
- def run(self, hql, autocommit: bool = False, parameters: Optional[dict] =
None, handler=None) -> None:
+ def run(
+ self,
+ hql: str,
Review comment:
We really should get rid of the hql across the whole class
Trino expecting sql. https://github.com/apache/airflow/issues/21597
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]