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

Add cancel on kill functionality #101

Conversation

dwreeves
Copy link
Collaborator

In dbt, a SIGTERM does not cancel any running queries, but a SIGINT does. The SubprocessHook() does not have a send_sigint() method, so we can just copy+paste the source code for it and replace the SIGTERM with SIGINT.

@dwreeves dwreeves requested a review from a team as a code owner January 26, 2023 15:39
Copy link
Collaborator

@jlaneve jlaneve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, very good catch and thanks for the contribution!

@jlaneve jlaneve merged commit 90fec5b into astronomer:main Jan 26, 2023
@dwreeves
Copy link
Collaborator Author

@jlaneve Thanks for merging! I have experience integrating dbt and Airflow together and I want to use this integration (I hate managing my own), so I'll be keeping an eye on this project and add a few more things as I get time.

@jlaneve
Copy link
Collaborator

jlaneve commented Jan 26, 2023

@dwreeves that would be awesome! Feel free to also open issues with things you think are missing - we can certainly help implement

@dwreeves
Copy link
Collaborator Author

Will do. I have at least one nontrivial feature I'd like to see and that will involve some discussion. I'll get to opening an issue hopefully in the next week.

tatiana added a commit that referenced this pull request May 15, 2024
[Daniel Reeves](https://www.linkedin.com/in/daniel-reeves-27700545/)
(@dwreeves ) is an experienced Open-Source Developer currently working
as a Data Architect at Battery Ventures. He has significant experience
with Apache Airflow, SQL, and Python and has contributed to many [OSS
projects](https://github.com/dwreeve).

Not only has he been using Cosmos since its early stages, but since
January 2023, he has actively contributed to the project:
![Screenshot 2024-05-14 at 10 47
30](https://github.com/astronomer/astronomer-cosmos/assets/272048/57829cb6-7eee-4b02-998b-46cc7746f15a)

He has been a critical driver for the Cosmos 1.4 release, and some of
his contributions include new features, bug fixes, and documentation
improvements, including:
* Creation of an Airflow plugin to render dbt docs:
#737
* Support using dbt partial parsing file:
#800
* Add more template fields to `DbtBaseOperator`:
#786
* Add cancel on kill functionality:
#101
* Make region optional in Snowflake profile mapping:
#100
* Fix the dbt docs operator to not look for `graph.pickle`:
#883

He thinks about the project long-term and proposes thorough solutions to
problems faced by the community, as can be seen in Github tickets:
* Introducing composability in the middle layer of Cosmos's API:
#895
* Establish a general pattern for uploading artifacts to storage:
#894
* Support `operator_arguments` injection at a node level:
#881

One of Daniel's notable traits is his collaborative and supportive
approach. He has actively engaged with users in the #airflow-dbt Slack
channel, demonstrating his commitment to fostering a supportive
community.

We want to promote him as a Cosmos committer and maintainer for all
these, recognising his constant efforts and achievements towards our
community. Thank you very much, @dwreeves !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants