dabla commented on issue #44902:
URL: https://github.com/apache/airflow/issues/44902#issuecomment-2543342088

   > Hello, everyone! I have some great news to share. I’ve managed to resolve 
the issue and identified its root cause.
   > 
   > The problem was related to the version of pyodbc used:
   > 
   > In `airflow:2.7.1`, the version of `pyodbc` is `4.0.39`. However, in 
`airflow:2.10.2`, the version of `pyodbc` is `5.1.0`. To resolve the issue, I 
downgraded the Python version in `airflow:2.10.2` from `3.12.x` to `3.10.12`, 
allowing me to install `pyodbc version 4.0.39` on `airflow:2.10.2`. After 
making this change, everything works perfectly! I was able to run the script 
and successfully connect to Netezza.
   > 
   > However, I have yet to verify exactly until which version of `pyodbc` my 
`Netezza` can support. Additionally, I haven’t checked which version of 
`airflow-provider-odbc` I need to use if I want to work with newer versions of 
`Airflow`.
   > 
   > I’d like to extend my gratitude to both of you @dabla @potiuk for helping 
troubleshoot and identify the cause of this problem. Thank you so much!
   
   You’re welcome, glad you found the issue and you found a workaround. We also 
experienced weird issues with odbc drivers in the past, not always easy to 
pin-point.


-- 
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]

Reply via email to