Skip to content

Connection id "extra" error #34456

@Dobring

Description

@Dobring

Apache Airflow version

Other Airflow 2 version (please specify below)

What happened

Dear Sir/Madam.
In airflow 2.7.0 version
After editing connection in GUI,
Field extra recieves default value of {}, which is not equal to None.

This causes extra={} argument being passed to connection uri.
{} is encoded to %7B%7D, as you can see on screen attached.

The result of default value is attached
It leads to the following error message.

sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) invalid dsn: invalid connection option "extra"
(Background on this error at: https://sqlalche.me/e/14/f405)

photo_5206597667222835967_y (1)

What you think should happen instead

I expect that if I leave Extra field empty when creating a connection id, there shall no be extra information.

How to reproduce

We simply create the connection by manually inputing all usual credentials.

Operating System

Linux

Versions of Apache Airflow Providers

apache-airflow-providers-amazon==8.5.1
apache-airflow-providers-postgres==5.6.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetpending-responsestaleStale PRs per the .github/workflows/stale.yml policy file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions