You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "core3-marcin-molak (via GitHub)" <gi...@apache.org> on 2025/09/19 15:02:59 UTC

[I] Invalid uri created when extras contains non string elements - imact for alchemy connection [airflow]

core3-marcin-molak opened a new issue, #55893:
URL: https://github.com/apache/airflow/issues/55893

   ### Apache Airflow version
   
   3.0.6
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   I have create extra for sql server connection with the following extras:
   
   `{
   "tds_version":"7.3",
   "as_dict":true
   }`
   
   I got uri with
   __extra__=%7B%22tds_version%22%3A+%227.3%22%2C+%22as_dict%22%3A+1%7D
   
   and alchemy have issue with __extra__ parameter.
   
   When I change boolean into string:
   `{
   "tds_version":"7.3",
   "as_dict":"true"
   }`
   
   uri contains: ?tds_version=7.3&as_dict=true
   
   but alchemy have problem with map from string into boolean
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Add extras to connection and try to get alchemy_connection for sql server
   
   ### Operating System
   
   Ubuntu
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invalid uri created when extras contains non string elements - imact for alchemy connection [airflow]

Posted by "core3-marcin-molak (via GitHub)" <gi...@apache.org>.
core3-marcin-molak commented on issue #55893:
URL: https://github.com/apache/airflow/issues/55893#issuecomment-3312577850

   Additional comment - uri is created in invalid way in Connection class (not in MSSqlServer provider)


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invalid uri created when extras contains non string elements - imact for alchemy connection [airflow]

Posted by "Pyasma (via GitHub)" <gi...@apache.org>.
Pyasma commented on issue #55893:
URL: https://github.com/apache/airflow/issues/55893#issuecomment-3448115766

   Thanks for letting me know. I’ll look into it.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invalid uri created when extras contains non string elements - imact for alchemy connection [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #55893:
URL: https://github.com/apache/airflow/issues/55893#issuecomment-3312554624

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invalid uri created when extras contains non string elements - imact for alchemy connection [airflow]

Posted by "jason810496 (via GitHub)" <gi...@apache.org>.
jason810496 closed issue #55893: Invalid uri created when extras contains non string elements - imact for alchemy connection
URL: https://github.com/apache/airflow/issues/55893


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invalid uri created when extras contains non string elements - imact for alchemy connection [airflow]

Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal commented on issue #55893:
URL: https://github.com/apache/airflow/issues/55893#issuecomment-3448094155

   cc @Pyasma maybe you'd be interested in checking this issue?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org