Re: [HUGE DISCUSSION] Airflow3 and tactical (Airflow 2) vs strategic (Airflow 3) approach

2024-05-13 Thread Daniel Standish
re As tasks require connection access, I assume connection data will somehow > be passed as part of the > metadata to task execution - whether it's part of the executor protocol or > in some other way (I'm > not an expert on that part of Airflow). Then, provided it's accessible as > part of some

Re: [DISCUSS] simplifying try_number handling

2024-05-08 Thread Daniel Standish
Thanks for engaging. I don't think I need to go to a lazy consensus vote so I won't unless someone thinks necessary. The PR is now ready for review if anyone is interested: https://github.com/apache/airflow/pull/39336 It was made more tricky by the fact that "backfill" is literally a second

Re: Refactor Scheduler Timed Events to be Async?

2024-05-03 Thread Daniel Standish
But you could run them in a thread or subprocess. Another option would be to just take all of the timed events and make them all asyncio and then run them all via asyncio in one continually running thread. That would be a bite size step towards AIP-70. Though, it might be a large bite :) On

[DISCUSS] simplifying try_number handling

2024-05-02 Thread Daniel Standish
TLDR * changing handling of try_number in https://github.com/apache/airflow/pull/39336 * no more private attr * no more getter that changes value based on state of task * no more decrementing * try number now only handled by scheduler * hope that sounds good to all of you For more detail read

Re: [VOTE] AIP-67 Multi-team deployment of Airflow components

2024-04-19 Thread Daniel Standish
> > It doesn’t affect my vote on the API, but I am very strongly against this > one part of the AIP: > > … dag_id are namespaced with `:` prefix. > This specific part is getting an implementation/code veto from me. We made > the mistake of overloading one column to store multiple things in Airflow

Re: [DISCUSS] Asynchronous SQLAlchemy

2024-04-15 Thread Daniel Standish
One thought that occurred to me... In order to really take advantage of async python, it may essentially require a scheduler rewrite. Certainly there will be a lot of refactoring required. And I have not looked closely at this. But I think chances are good that there will be a lot of things that

Re: [DISCUSS] Asynchronous SQLAlchemy

2024-04-08 Thread Daniel Standish
gt; really possible back then - but now, by getting rid of Mssql and if we have > the right drivers for mysql, it should be possible - I guess. > > On Mon, Apr 8, 2024 at 8:17 PM Daniel Standish > wrote: > > > I wholeheartedly agree with Ash that it should be all or nothing. And >

Re: [DISCUSS] Asynchronous SQLAlchemy

2024-04-08 Thread Daniel Standish
If nothing else, write an ugly adapter using sync_to_async? On Mon, Apr 8, 2024 at 1:06 PM Daniel Standish < daniel.stand...@astronomer.io> wrote: > https://github.com/omnilib/aiosqlite maybe? > > On Mon, Apr 8, 2024 at 1:03 PM Scheffler Jens (XC-AS/EAE-ADA-T) > wrote:

Re: [DISCUSS] Asynchronous SQLAlchemy

2024-04-08 Thread Daniel Standish
I wholeheartedly agree with Ash that it should be all or nothing. And *all* sounds better to me :) On Mon, Apr 8, 2024 at 10:54 AM Ash Berlin-Taylor wrote: > I’m all in favour of async SQLAlchemy. We’ve built two products > exclusively at @ Astronomer that use sqlalchemy+psycopg3+async and

Re: Bad mixing of decorated and classic operators (users shooting themselves in their foot)

2024-03-02 Thread Daniel Standish
One wrinkle to the have cake and eat it too approach is deferrable operators. It doesn't seem it would be very practical to resume back into the operator that is nested inside a taskflow function. One solution would be to run the trigger in process like we currently do with `dag.test()`. That

Re: Idea for Discussion: custom TI dependencies

2024-02-05 Thread Daniel Standish
Another thing to consider is whether TI deps is the right place for this kind of thing. The two examples were pretty infra related. Maybe it makes sense in those cases for the TI's scheduling deps to be cleared but then the executor needs to manage scaling up the infra for the task or

Re: [DISCUSS] "Require conversation resolution" in our PRs before merge?

2023-12-22 Thread Daniel Standish
; solving > > > > > > >> > > > >something that needs to be solved. > > > > > > >> > > > > > > > > > > >> > > > >I think 1) 2) 3) are real problems that it addresses. > > > > &

Re: [DISCUSS] "Require conversation resolution" in our PRs before merge?

2023-12-19 Thread Daniel Standish
Well let me add some more thoughts. I like the idea in general, the principle of trying to somehow acknowledge the comments and suggestions that have been made. But it may have some unintended and perhaps undesirable consequences. E.g. when you "resolve" a conversation, then you make it less

Re: [DISCUSS] "Require conversation resolution" in our PRs before merge?

2023-12-19 Thread Daniel Standish
+1 On Tue, Dec 19, 2023 at 9:36 AM Pierre Jeambrun wrote: > This is something I already try to apply on my own PRs, never merge before > explicitly solving all conversations. > > Also for a reviewer, I feel like this gives more confidence to the fact > that the PR is ready, and indeed we are

Re: [DISCUSS] Using serde for PyODBC case/other cases [was Serialization in Apache Airflow]

2023-12-11 Thread Daniel Standish
> > Tried to get others some opportunity to comment, but I see it's mostly me > <> Bolke. It might help to start off this separate discussion thread with a simple / concise problem statement. (that might sound snarky but it ain't :) ) And I say *might help* cus you still might get crickets

Re: [PROPOSAL] Deprecate URI Connection representation in favor of JSON

2023-11-27 Thread Daniel Standish
nds that the Connection class' get_uri is meant to be general, > > supporting the use case of serializing the Airflow connection on basis of > > host, port, schema, password, type etc. > > > > Thanks & Regards, > > Amogh Desai > > > > On Mon, Nov 20, 2023

Re: [DISCUSS] Future of Pendulum in Airflow

2023-11-21 Thread Daniel Standish
Thanks Jarek On Tue, Nov 21, 2023, 4:34 PM Jarek Potiuk wrote: > I think we miss important insight - straight from the source. > > I believe it's time to be candid and simply ask questions for the future of > Pendulum directly where we should - ie. we should just ask maintainers. > > I've just

Re: [PROPOSAL] Deprecate URI Connection representation in favor of JSON

2023-11-18 Thread Daniel Standish
The thing that makes *me* hesitant to deprecate is the sheer magnitude of breaking it would bring (even though we're only talking about a hypothetical 3.0 release), balanced against the actual pain it causes. I.e. it's confusing to use, and takes up space in docs (when, if removed, we could just

Re: [PROPOSAL] Deprecate URI Connection representation in favor of JSON

2023-11-17 Thread Daniel Standish
I would also like to see it deprecated. That said, I am not convinced there is anything that we cannot encode using URI though. I think the problem is just when one tries to use the same URI to mean two different things, e.g. both airflow connection URI and sqlalchemy URI. They are different.

Re: [VOTE] Release Apache Airflow Helm Chart 1.11.0 based on 1.11.0rc2

2023-10-02 Thread Daniel Standish
+1 binding Verified licence signature checksum, installed and ran a dag On Mon, Oct 2, 2023 at 8:00 AM Hussein Awala wrote: > Thank you for the clarification! > > > However, I just had an idea which we can try out for future releases  > > I wonder if we can exclude the file from rat check and

Re: [DISCUSS] Mechanism of SLA

2023-09-20 Thread Daniel Standish
I don't think of it as really a question about accurate record keeping but more a question of what an SLA is, i.e. when do you want the warning, or what do you want the warning based on. I think that the idea has been that it really means, "if task not done by X time each day then warn". And the

Re: [DISCUSS] What we should do with DbApiHook.get_uri?

2023-09-19 Thread Daniel Standish
Yeah I think your proposal seems reasonable. Airflow conn URI is not same thing as sqlalchemy URI. That worked for some simple circumstances but it is definitely not true in general. Hooks that need it should generally implement it. On Tue, Sep 19, 2023 at 10:51 AM Andrey Anshin wrote: >

Re: [DISCUSS] Mechanism of SLA

2023-09-18 Thread Daniel Standish
I was able to chat with a couple folks about this. Small sample, but the sentiment was, "this is just a timeout". In other words, if we're going to call this SLA, we really ought to evaluate against the "this thing should have run by" time and not the actual start time. And, ideally, we should

Re: [DISCUSS] Allow multiple pools for one task and require all corresponding pool slots to be available before a task can run

2023-09-15 Thread Daniel Standish
I share Jens's concerns about complexity.

Re: [DISCUSS] Mechanism of SLA

2023-09-13 Thread Daniel Standish
OK so one difference here is, you're adding a new DAG SLA concept. Which is useful. One subtle difference from what I think is the existing "concept" of SLA is that you are evaluating it against when it started, as opposed to when it should have started, and evaluating it only in the course of

Re: [DISCUSS] Mechanism of SLA

2023-09-13 Thread Daniel Standish
First of all, thanks for being so charitable in engaging in this dialogue, I appreciate it. Yeah I think that the notion that maybe Airflow is making really impractical promises with SLA, well that could be true. One question for you, as I continue to let this percolate. Can you help me

Re: [DISCUSS] Mechanism of SLA

2023-09-12 Thread Daniel Standish
not resolved immediately. So to me, as > long as there are existing ways of detecting these more critical > infrastructure issues (which there are), I am not too concerned that my SLA > measuring might be impacted by a late scheduled DAG Run. > > On the idea of killing the running sla tr

Re: [DISCUSS] Mechanism of SLA

2023-09-12 Thread Daniel Standish
Some questions for you Sung. I tried looking to understand why we needed to remove behavior 3 discussed in AIP: *[remove]* Task-level SLA measured from DAG-run scheduled start time I'm just a little concerned that removing this would be a mistake because, in my mind, part of the essence of

Re: [DISCUSS] move from semver to a more "rolling" release cycle for core

2023-09-06 Thread Daniel Standish
> > would definitely be in favour of that approach and using it more > liberally. I think SemVer does not say anything about this case - "the > software still supports it but you need to flip a flg" sounds like a nice > way of introducing behavioural changes without breaking changes. This

Re: [DISCUSS] move from semver to a more "rolling" release cycle for core

2023-08-30 Thread Daniel Standish
gt; * Also I agree 'backwards compatible" does not mean "has this feature > enabled in new release". Take the infamous "SubDAG" as an example: If we > find a way to decouple it, I would be all for having a flag that ENABLES it > if set - but disabled by default. >

Re: [DISCUSS] move from semver to a more "rolling" release cycle for core

2023-08-30 Thread Daniel Standish
otentially a better airflow. Personally, putting on my user hat, that feels like a worthy trade. On Wed, Aug 30, 2023 at 12:01 PM Daniel Standish < daniel.stand...@astronomer.io> wrote: > Yeah I agree completely with more liberal use of something like more > liberal use of "expe

Re: [DISCUSS] move from semver to a more "rolling" release cycle for core

2023-08-27 Thread Daniel Standish
ir installation. This is 100% against the spirit and idea of > the regulations. The regulations aim to force those who produce software to > make it easy and possible for the users to upgrade immediately after > security fixes are released. > > In a way - using SemVer and being able to t

Re: [DISCUSS] move from semver to a more "rolling" release cycle for core

2023-08-27 Thread Daniel Standish
e anything more than that. CalVer <https://calver.org/> may be a good option. On Sat, Aug 26, 2023 at 11:22 PM Daniel Standish < daniel.stand...@astronomer.io> wrote: > For whatever reason, I was reminded recently of snowflake's "behavior > change" policy > > See here:

[DISCUSS] move from semver to a more "rolling" release cycle for core

2023-08-27 Thread Daniel Standish
For whatever reason, I was reminded recently of snowflake's "behavior change" policy See here: https://docs.snowflake.com/en/release-notes/behavior-change-policy I think semver is problematic for core because basically you cannot implement behavior changes until the "mythical" major release.

Re: [LAZY CONSENSUS] Accept revisions to AIP-52 Setup and Teardown tasks

2023-08-08 Thread Daniel Standish
The vote has passed. On Thu, Aug 3, 2023 at 6:30 PM Daniel Standish wrote: > Calling for a vote by lazy consensus to accept the changes to AIP-52 Setup > and Teardown Tasks. > > *Discussion thread:* > https://lists.apache.org/thread/c4s0541nrjbjm1or8tpl08y4qtmjj4gd >

[LAZY CONSENSUS] Accept revisions to AIP-52 Setup and Teardown tasks

2023-08-03 Thread Daniel Standish
Calling for a vote by lazy consensus to accept the changes to AIP-52 Setup and Teardown Tasks. *Discussion thread:* https://lists.apache.org/thread/c4s0541nrjbjm1or8tpl08y4qtmjj4gd *Docs:*

Re: [DISCUSS] Should we pre-install celery/k8s providers?

2023-07-21 Thread Daniel Standish
Yeah it ain't the easiest of decisions. @niko, when I think about the staged approach, it feels like it is maybe more disruptive than doing it all at once. stage 1: force everyone to install k8s and celery libs -- that's one disruption / risk stage 2: remove pre-install -- another disruption it

Re: [DISCUSS] Should we pre-install celery/k8s providers?

2023-07-21 Thread Daniel Standish
* *provider* extras or provider optional features

Re: [DISCUSS] Should we pre-install celery/k8s providers?

2023-07-21 Thread Daniel Standish
Yeah I think this is an important point: > > Core Airflow so far hasn't had the dependencies > required to make those executors functional either - users either had to > use the extra or install the provider directly. So that doesn't really > change if we choose not to preinstall the providers. >

Re: [DISCUSS] Moving Dask Executor to a separate (optional?) dask provider

2023-07-20 Thread Daniel Standish
> I guess the question is not "can we do it" but more "should we do it" :D right :)

Re: [DISCUSS] Moving Dask Executor to a separate (optional?) dask provider

2023-07-20 Thread Daniel Standish
Just on the question of semver, I am not convinced that semver prohibits this. As a user, your concerns and expectations regarding semver are about essentially how the code works, e.g. are you going to have to refactor all of your 500 dags. In other words the API.. But to me this is a lower

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-07-10 Thread Daniel Standish
You're not too late, and thanks for engaging with the issue. I don't think anyone would dispute that users will sometimes want a setup without a teardown. But the question is should we require that users explicitly make the scope of a setup well-defined. Like Jarek, I have some ambivalence on

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-06-30 Thread Daniel Standish
Ok want to pick back up setup / teardown discussion as we get closer to 2.7. For personal reasons I had to take some time off work just as we were wrapping up work on 2.6, and at least partly due to that, we punted setup / teardown to 2.7. But we've picked it back up and continued along the path

Re: Deferrable operators in system tests, how?

2023-06-06 Thread Daniel Standish
Don't think fixture would break that. It would just be test code not in the dag. It would just ensure that the triggerer is running before the tests that use the triggerer need it. But doing it in breeze makes more sense for sure. Although I suppose a combination approach could be considered EG,

Re: Deferrable operators in system tests, how?

2023-06-03 Thread Daniel Standish
I just took a look and it turns out that DebugExecutor works fine with triggerer you just need to have one running. You could run one in a subprocess. I experimented with refactoring the subprocess hook for this purpose (so you can start the subprocess asynchronously) and then ran this dag with

Re: [VOTE] May 2023 PR of the Month

2023-05-26 Thread Daniel Standish
you can have any author you like, as long as it is potiuk https://github.com/apache/airflow/pull/27264 On Fri, May 26, 2023 at 2:09 PM Hussein Awala wrote: > I join Bas and I vote for #27264. > > On Sat 27 May 2023 at 00:03, Bas Harenslak > wrote: > > > My vote goes to

Re: [ANNOUNCEMENT] Python 3.11 support merged for Apache Airflow

2023-05-22 Thread Daniel Standish
Congrats  On Mon, May 22, 2023, 3:54 PM Jarek Potiuk wrote: > Hello everyone, > > I am glad to announce that I just merged > https://github.com/apache/airflow/pull/27264 that implements Python 3.11 > support for Airflow. > > Python 3.11 brings a number of speed improvements for single-threaded

Re: Huge fependency bump in main (thanks to Google efforts)

2023-05-18 Thread Daniel Standish
nice

Re: [DISCUSS] Preparing for dropping Python 3.7 support

2023-05-01 Thread Daniel Standish
Thanks for the heads up about the timing re 2.7 @Jarek. I too am eager for the walrus operator.

Re: [VOTE][RESULT] April 2023 PR of the Month

2023-04-28 Thread Daniel Standish
Feels very appropriate  On Fri, Apr 28, 2023 at 1:33 PM Michael Robinson wrote: > Hello all, > > Thanks to all who participated in this month’s unusually competitive vote > for PR of the Month. By my count, we have a three-way tie. The winners: > > #30705 by @potiuk: “Optimize parallel test

Re: [VOTE] April 2023 PR of the Month

2023-04-26 Thread Daniel Standish
This is a tough one. Many PRs and contributors deserving of recognition here. And cool to see so much engagement in the voting. But my vote goes to #30375... It may seem like a small fix but I think it (at least hopefully) should alleviate a lot of frustration and it's an example of someone,

Re: [DISCUSS] Exclude some providers that hold us back from releasing

2023-03-28 Thread Daniel Standish
It seems reasonable to me. On Mon, Mar 27, 2023 at 12:02 AM Jarek Potiuk wrote: > Hello Everyone, > > TL;DR; I wanted to raise a discussion and make a proposal about option > to skip some niche providers of our from releasing if they are holding > us back, regarding the dependencies > > We are

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-27 Thread Daniel Standish
Happy to see the engagement on this one. Thanks to everyone for thinking it through and contributing their thoughts. re niko > - Context managers: > I found most of the context manager syntax proposals a little hard to > understand, but some better than others. Ultimately if I put my DAG

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-27 Thread Daniel Standish
tually we are discussing it now, so I think it is cool. > > J. > > On Mon, Mar 27, 2023 at 8:43 AM Ash Berlin-Taylor wrote: > > > > If the set-up ran then the tear down _must_ run. No question. > > > > Nothing should be able to change this fact. If you can, then they don't >

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-26 Thread Daniel Standish
he code of > >teardown and setup decorators. > > > >This means that users of ShortCircuitOperator will not even know they need > >to take action (until it wont work as expexted) and they will propbably > >start as asking questions. > > > >I'm not saying this

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-26 Thread Daniel Standish
Thanks Elad for the feedback. re 1. i don't really see a problem with the trigger rule being public. The way I see it, it's another trigger rule like any other trigger rule. Every trigger rule behaves differently, that's true here too. This one happens to be relied upon for teardown tasks.

Re: [DISCUSS] a cache for Airflow Variables

2023-03-25 Thread Daniel Standish
Surprised to hear that it doesn't work with celery. Is that right? I assumed that this was the main target. If it's really only a benefit in dag processor, it's surprising that it provides much benefit because it should be one call per var-file-parse; in worker it will be once per ti and I

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-24 Thread Daniel Standish
DAG code. > *** > > Crucially I want us to not let perfect be the enemy of good, and all this > confusion and discussion is exactly why I had originally placed "multiple > setup/teardown" in future work. Having a single setup function and a single > task group gives our use

Re: [DISCUSS] a cache for Airflow Variables

2023-03-23 Thread Daniel Standish
It would not help with kubernetes executor. Did you try with local executor? Another option to consider is to implement this specifically on the AWS secrets manager secrets backend itself.

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-23 Thread Daniel Standish
re > 2. `task1 >> task2 >> teardown_task` to me falsely implies that teardown > depends on task2, But it doesn't. It only depends on the "scope being > exited". So that's not quite the case. With the proposed implementation, there's no such scope concept. They're just normal tasks, with

Re: [DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-23 Thread Daniel Standish
Hi, would like to clarify, in this thread we're specifically hoping to get community feedback on the proposal to drop the "implicit" logic. In the original AIP, if you instantiate a setup task in a group, in effect it's made the setup task for all tasks in the group. And the proposal up for

[DISCUSS] AIP-52 updates - setup / teardown tasks

2023-03-23 Thread Daniel Standish
I’m part of a group working on the implementation of AIP-52. We would like to update the community on some changes to the implementation approach, the planned roadmap, and give an opportunity to provide feedback. First though, let’s recap briefly what are the main benefits of adding setup and

Re: [DISCUSSION] Assessing what is a breaking change for Airflow (SemVer context)

2023-01-27 Thread Daniel Standish
Thinking about this some more. As an airflow developer, a lot of our backcompat concerns (which takes up a substantial portion of our energy), is about the concern that we might break something for someone who has extended either built-in classes or provider classes. Maybe we are to permissive

Re: [DISCUSSION] Assessing what is a breaking change for Airflow (SemVer context)

2023-01-27 Thread Daniel Standish
okie doke, took a crack at it https://github.com/apache/airflow/pull/29200

Re: [DISCUSSION] Assessing what is a breaking change for Airflow (SemVer context)

2023-01-27 Thread Daniel Standish
e important points in the conversation, or > even misunderstood some points. But just summarizing what I have understood > as well as what I would prefer. > > > Regards, > XD > > On Thu, Jan 26, 2023 at 9:45 AM Daniel Standish > wrote: > >> I understand it's "

Re: [DISCUSSION] Assessing what is a breaking change for Airflow (SemVer context)

2023-01-26 Thread Daniel Standish
ackages as > contributed by people external to those projects. > This data can e.g. be used for static analysis, type checking or type > inference. > """ > > This way a user who wishes to extend airflow could simply install the > `types-apache-airflow==2.6.0` a

Re: [DISCUSSION] Assessing what is a breaking change for Airflow (SemVer context)

2023-01-25 Thread Daniel Standish
Following up here... that PR has been merged At some point we should probably have a vote on that, if it's meant to be actual binding policy. Maybe we're still feeling it out? But "what is public" is a pretty fundamental concern to the project. Maybe such a policy itself should be an AIP?

Re: [VOTE][ISSUE-22073] Finalising approach for displaying non-ascii characters in DAG display name

2023-01-12 Thread Daniel Standish
; currently IMHO is not an option) my vote goes to 2. > > We can also drop MySQL support :D > > J. > > > > > On Thu, Jan 12, 2023 at 9:56 AM Ash Berlin-Taylor wrote: > >> +1 to what Daniel said >> >> On 12 January 2023 08:32:29 GMT, Daniel Standish >&g

Re: [VOTE][ISSUE-22073] Finalising approach for displaying non-ascii characters in DAG display name

2023-01-12 Thread Daniel Standish
issues/23020> > > *Abdul Hadi Shakir* > > > On Thu, Jan 12, 2023 at 1:19 PM Daniel Standish > wrote: > >> Hi, >> >> Is it not possible to just have unicode dag_id with no distinct "name"? >> If you explored this route and encountered problems

Re: [VOTE][ISSUE-22073] Finalising approach for displaying non-ascii characters in DAG display name

2023-01-11 Thread Daniel Standish
Hi, Is it not possible to just have unicode dag_id with no distinct "name"? If you explored this route and encountered problems which caused you to abandon, can you share what were the problems? I think having just one ID for a dag is a nice thing, if we can keep it. On Wed, Jan 11, 2023 at

Re: [VOTE] Airflow Providers prepared on November 15, 2022

2022-11-17 Thread Daniel Standish
Verified signatures, licenses, checksums. +1 (binding) do want to mention though that it looks like yandex and jdbc release notes still both mention 4.0 (which was an accident related to recent change in policy re major bump for min airflow version bump) but i defer to your judgment whether

Re: [LAZY CONSENSUS] Do not treat min-airflow-version bump in providers as breaking

2022-11-14 Thread Daniel Standish
I think it makes sense and I'm a +1. For the convenience of other readers I'll paste your rationale here: The rationale i have - that from the point of view of provider, it's just a > dependency change (which we generally consided non-breaking) and it does > not break people's workflows in

Re: Possible conflicts after string normalization in providers

2022-11-10 Thread Daniel Standish
Ok -- just merged normalization for core. Now we're fully normalized. Expect conflicts in your branches (if they touch core airflow). Apologies in advance.

Re: [PROPOSAL] Clarifications of triage team role including strenghtening importance of active triaging

2022-10-25 Thread Daniel Standish
> > 3. I am also getting a true sense of just how overwhelming the influx of > Issues, PRs and Discussions is. I have come across several folks who > submitted PRs and never got feedback and then left the community. Losing > these folks is a bad experience for them but also for us because we lost

Re: Possible conflicts after string normalization in providers

2022-10-23 Thread Daniel Standish
OK -- the non-providers/non-core (a.k.a. "other") group of string normalization has just been merged. So, if you already rebased, unlucky you -- you need to do it again. But fear not, you won't need to do it yet another time until closer to the release of airflow 2.5, when we'll apply string

Re: Possible conflicts after string normalization in providers

2022-10-23 Thread Daniel Standish
Thanks Jarek There will be a couple more notices like this as we apply to the rest of the codebase. Non-providers / non-core is coming soon, and core will be applied closer to 2.5. And if you don't want to squash to one commit, I think you can also just do `pre-commit run black --all-files`,

[DISCUSS] no extra prefix required

2022-10-14 Thread Daniel Standish
As of airflow 2.3, airflow hooks no longer need to name extra fields with the `extra__conn_type__field_name` convention (PR https://github.com/apache/airflow/pull/22607). I believe using the short name is much more intuitive and user-friendly. So I am currently working on updating our hooks so

Re: [VOTE] Airflow Providers prepared on October 04, 2022

2022-10-05 Thread Daniel Standish
+1 (binding) checked signatures checksums and licenses On Wed, Oct 5, 2022 at 3:31 PM Jed Cunningham wrote: > +1 (binding) > > Checked signatures, checksums, and licences. >

Re: [ANNOUNCEMENT] Breeze rewrite to Python finally completed !!! Congrats to Bowrna, Edith (and Elad as mentor)!

2022-10-03 Thread Daniel Standish
Nice, congrats  On Mon, Oct 3, 2022 at 3:12 PM Jarek Potiuk wrote: > Hello Airflow community, > > I have just merged the last PR from the "Breeze rewrite to Python" > project, completing the project we started with Bowrna and Edith as > Outreachy interns and Elad co-mentoring it with me.

Re: [VOTE] Release Airflow 2.4.1 from 2.4.1rc1

2022-09-30 Thread Daniel Standish
+1 (binding) verified signatures and licenses, checksum and ran sample dag On Fri, Sep 30, 2022 at 11:21 AM Jed Cunningham wrote: > Kind bump, I need 1 more vote on this release. >

Re: [VOTE] September 2022 PR of the Month

2022-09-27 Thread Daniel Standish
One vote for https://github.com/apache/airflow/pull/26400 (improved test command) On Tue, Sep 27, 2022 at 10:50 AM Jed Cunningham wrote: > My write-in is ExternalPythonOperator: > https://github.com/apache/airflow/pull/25780 >

[LAZY CONSENSUS] enable string normalization on black

2022-09-21 Thread Daniel Standish
Proposal: remove param --skip-string-normalization on black pre-commit hook Discussion thread: https://lists.apache.org/thread/0g887n3gyr611k908zsz27ccshb85z2n After 72 hours, unless there is an objection, this proposal will be adopted. What is lazy consensus? Read here

Re: [DISCUSS] string normalization in black

2022-09-21 Thread Daniel Standish
> > Opinion: Adding a lazy consensus thread will not hurt and I think it > should happen Sure, can do >

Re: [DISCUSS] string normalization in black

2022-09-21 Thread Daniel Standish
OK seems like all are in favor. Do we even need a vote? I guess lazy consensus still applies even when you don't formally call for a lazy consensus vote. So I reckon I won't bother. But the implementation to @Jed Cunningham 's point we can wait until closer to 2.5. And I'll connect with

Re: [DISCUSS] string normalization in black

2022-09-20 Thread Daniel Standish
> > I'll weigh in on this most important of decisions :) OK but I must clear up one thing ... if we turn on string normalization, we do not get to choose single vs double -- with black, there is only one way, and it is double. Personally I have always liked single but yeah, I am in favor of

[DISCUSS] string normalization in black

2022-09-20 Thread Daniel Standish
Black, our python formatter, can "normalize" strings to prefer double quotes, and we disable this feature. I have always been a single quotes person unless using f-string and supported disabling normalization when we introduced black. But lately, black’s string normalization has seemed more

Re: [VOTE] Release Airflow 2.4.0 from 2.4.0rc1

2022-09-19 Thread Daniel Standish
+1 (non-binding) On Sun, Sep 18, 2022 at 6:57 PM Phani Kumar wrote: > + non binding. Tested the Dataset functionality and working fine > > On Sun, Sep 18, 2022 at 11:09 PM Ephraim Anierobi < > ephraimanier...@gmail.com> wrote: > >> +1 (binding) >> >> On Sun, 18 Sep 2022 at 16:57, Jeambrun

Re: [DISCUSS] consolidate dag scheduling params

2022-08-06 Thread Daniel Standish
te: > One question: are we deprecating the existing parameters straight away or > leaving it without a warning for one release? (I think someone talked about > that at one point) > > On 6 August 2022 19:46:02 BST, Daniel Standish > wrote: >> >> Well, thanks for forcing us

[LAZY CONSENSUS] consolidate scheduling params with new param `schedule`

2022-08-06 Thread Daniel Standish
Proposal: - add new DAG param `schedule` that accepts everything *currently *supported by `schedule_interval`, `timetable`, and `schedule_on` - (note schedule_on, added for AIP-48, has not been in any release yet; only present in main) - remove param schedule_on immediately

Re: [DISCUSS] consolidate dag scheduling params

2022-08-06 Thread Daniel Standish
a timetable? Is it a "cron TAB" ? Or what? >> >> For me even if we wanted to have different names, the current set of >> names for those params is just terribly ambiguous. >> >> Making it "schedule" and acting depending on what you pass to it is

Re: [DISCUSS] consolidate dag scheduling params

2022-08-05 Thread Daniel Standish
y >>> recent and have not seen as much usage for this invocation yet. I am >>> definitely curious about other perspectives on this as well. >>> >>> I have a hard time with option (1) of deprecating "schedule interval", >>> because of the historical n

Re: [DISCUSS] AIP naming correction

2022-08-04 Thread Daniel Standish
Oh nice, that makes it easy. Did the rename. On Thu, Aug 4, 2022 at 11:34 AM Jarek Potiuk wrote: > No problem - we can rename it - whoever gets to the old name will get > information that the page is gone and they will see the link to the new > page. > > On Thu, Aug 4, 2022 at

[DISCUSS] AIP naming correction

2022-08-04 Thread Daniel Standish
I noticed that our AIP page says "Airflow *Improvements* Proposals" at the header at the top. But I think it should be "Airflow *Improvement* Proposals" See: https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals Problem is our docs point to this link, which

Re: [DISCUSS] consolidate dag scheduling params

2022-08-04 Thread Daniel Standish
gt;> Hi Daniel, >> >> +1 for ‘schedule' and thanks for bringing this up. >> >> I agree with Vikram, we should be very careful about deprecating existing >> params even if we have warnings around it. Not sure if this is a general >> case, but I notice that pe

Re: [DISCUSS] consolidate dag scheduling params

2022-08-03 Thread Daniel Standish
In case you forgot about us @Vikram, gentle nudge On Mon, Aug 1, 2022 at 8:40 AM Daniel Standish < daniel.stand...@astronomer.io> wrote: > Well, this is a discussion thread, so let's discuss! > > Vikram, what kind of implications are you thinking of? Maybe you could > pro

Re: [DISCUSS] consolidate dag scheduling params

2022-08-01 Thread Daniel Standish
, I don't think > we should be doing this yet until we understand the implications > completely. > I am really not in favor of deprecation of the existing params, unless > there is really no alternative. > > > On Fri, Jul 29, 2022 at 2:37 PM Daniel Standish > wrote: > &g

Re: [DISCUSS] consolidate dag scheduling params

2022-07-29 Thread Daniel Standish
So far, seems all in favor. I will just highlight, in case it's not clear when we release this (presumably 2.4), basically every single dag in existence will start emitting deprecation warnings, and prior to 3.0, basically every dag in existence will need to be updated. Thankfully, for most

Re: [LAZY CONSENSUS] deprecate "dependency detector" pluggability

2022-07-27 Thread Daniel Standish
This vote has officially passed. On Thu, Jul 21, 2022 at 3:59 PM Jarek Potiuk wrote: > Was it really *puggable* ? I would have never guessed. Not so lazy > consensus here > > On Thu, Jul 21, 2022 at 11:44 PM Daniel Standish > wrote: > > > > Sorry --- sunday july 24 >

Re: Remove from email list

2022-07-27 Thread Daniel Standish
1. here's how to do 2. The preferred channel for discussion is using the official Apache Airflow mailing lists. To subscribe, send an email to: - Users list (archive ): users-subscr...@airflow.apache.org

[DISCUSS] consolidate dag scheduling params

2022-07-27 Thread Daniel Standish
As of airflow 2.3, we have two mutually-exclusive scheduling params, `schedule_interval` and `timetable`. As it stands now, AIP-48 will be adding a *third* such param, `schedule_on`. I think it would probably be best to consolidate these into one single scheduling param. What do you think?

  1   2   3   >