Skip to content

Improve error messages for Snowflake operators to include query and context #66619

@nagabharathnr

Description

@nagabharathnr

Description

Error messages raised by Snowflake operators can be generic and may not always provide enough context (such as the SQL query or operator details), making debugging more difficult for users.

Use case/motivation

Error messages should include additional context such as:

  • the SQL query being executed (or a truncated version)
  • operator/task context
  • clearer indication of failure type (connection vs execution)

This would improve debugging and developer experience when working with Snowflake in Airflow.

Related issues

No

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions