Skip to content

Explore the possibility of generic SqlToGcsOperator #21599

Open

Description

@eladkal

Body

Recently SqlToS3Operator was added in PR #20807 (It also deprecated MySqlToS3Operator)

In Google provider Currently we have BaseSQLToGCSOperator with PrestoToGCSOperator, MSSQLToGCSOperator, MySQLToGCSOperator, OracleToGCSOperator, PostgresToGCSOperator, TrinoToGCSOperator, DummySQLToGCSOperator

This task is to check if we can have a generic SqlToGCSOperator just like there is for AWS so we won't need class per each provider...

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. kadai0308 commented on Feb 20, 2022

    @kadai0308
    Contributor

    Hi eladkal, Can I take this one as my first issue? I already went through the PR #20807
    and later I will check each implementation of XXXToGCSOperator to see is it possible to implement a generic SqlToGCSOperator to replace all of them.

  2. eladkal commented on Feb 20, 2022

    @eladkal
    ContributorAuthor

    sure assigned to you

  3. kadai0308 commented on Feb 21, 2022

    @kadai0308
    Contributor

    Hi @eladkal, when I investigated the presto_to_gcs operator & trino_to_gcs operator found the key of integer & float in their type map is different with others to_gcs operator, I think it might be a bug, so raise a PR #21700.
    Can you help me check on that? Thanks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions