Skip to content

SQL Errors not handled correclty with vertica provider #55502

Description

@darkag

Apache Airflow Provider(s)

vertica

Versions of Apache Airflow Providers

No response

Apache Airflow version

2.10.5

Operating System

debian

Deployment

Virtualenv installation

Deployment details

No response

What happened

Hello, since default handlers for sql hooks have moved in a separate module (#43747). My fix for issue #32993 doesn't work anymore.

What you think should happen instead

fetch_all_handler should be imported from airflow.providers.common.sql.hooks.handlers in vertica hook, instead if someone has a better idea to create a more robust way to replace default handlers for vertica.

How to reproduce

you can retry the steps of the original issue or just add traces in vertica hook to see that the change of handler is not made anymore

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. darkag commented on Sep 15, 2025

    @darkag
    ContributorAuthor

    My bad, my problem was due to incompatible combinaison of vertica provider et sql common provider.
    vertica provider <= 3.9.1 should stay with common sql provider <= 1.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions