yanivsin opened a new issue, #31612:
URL: https://github.com/apache/airflow/issues/31612
### Apache Airflow version
Other Airflow 2 version (please specify below)
### What happened
After upgrading apache-airflow-providers-common-sql from 1.2.0 to anything
above 1.3.0 presto queries using the get_records() and or get_first() function
returns none.
using the same query -- `select 1`:
1.2.0: `Done. Returned value was: [[1]]`
>=1.3.0: ```
Running statement: select 1, parameters: None
[2023-05-30, 11:57:37 UTC] {{python.py:177}} INFO - Done. Returned value
was: None
```
### What you think should happen instead
i would expect that running the query `select 1` on presto would provide the
same result when the environment is running apache-airflow-providers-common-sql
1.2.0 or apache-airflow-providers-common-sql 1.5.1.
### How to reproduce
run the following query: `PrestoHook(conn_id).get_records(`select 1`)`
ensure that the requirements are as labelled below.
### Operating System
NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora"
### Versions of Apache Airflow Providers
apache-airflow==2.4.3
apache-airflow-providers-amazon==6.0.0
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-common-sql==1.5.1
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-google==8.4.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-jenkins==3.0.0
apache-airflow-providers-mysql==3.2.1
apache-airflow-providers-postgres==5.2.2
apache-airflow-providers-presto==5.1.0
apache-airflow-providers-sendgrid==3.0.0
apache-airflow-providers-slack==6.0.0
apache-airflow-providers-snowflake==3.3.0
apache-airflow-providers-sqlite==3.2.1
apache-airflow-providers-trino==4.1.0
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]