Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After connecting airflow, the platform of trino operator's in/outlet is changed to presto. #10558

Open
shepherd44 opened this issue May 21, 2024 · 2 comments
Labels
bug Bug report

Comments

@shepherd44
Copy link

Describe the bug
Integrate using the airflow plugin v2 and then, TrinoOperator to run a query and see that the task flow and dataset are opened.
However, the dataset was linked to presto instead of trino, so it was being captured as a different dataset than the trino dataset I had linked to.

OL_SCHEME_TWEAKS seems to change trino to presto, but why is it like this?
I am having a problem with dataset separation when writing trino ingestion together.
Is it not possible to make the dataset platform of airflow Trino Operator come out as trino in order to use trino ingestion together?

To Reproduce
Steps to reproduce the behavior:

  1. airflow plugin v2 integration
  2. use TrinoOperator
  3. inlet/outlet dataset comes out as presto

Expected behavior
I want the platform of the TrinoOperator to come out as trino.

@shepherd44 shepherd44 added the bug Bug report label May 21, 2024
@hsheth2
Copy link
Collaborator

hsheth2 commented May 21, 2024

I'm not sure why that mapping is on OL_SCHEME_TWEAKS. Presto was the old name of trino, but we use trino throughout our codebase.

Would you be up for creating a PR to remove that from the mapping?

@shepherd44
Copy link
Author

Yes. Let's modify it and create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants