o-nikolas commented on code in PR #38054:
URL: https://github.com/apache/airflow/pull/38054#discussion_r1525325297
##########
airflow/models/taskinstance.py:
##########
@@ -1252,6 +1254,8 @@ class TaskInstance(Base, LoggingMixin):
queued_dttm = Column(UtcDateTime)
queued_by_job_id = Column(Integer)
pid = Column(Integer)
+ # TODO: Should this be nullable?
+ executor = Column(String(1000))
Review Comment:
This is actually a nuanced bit that's easy to get confused by. The default
must be NULL/empty to maintain the behaviour we have today in the base case. I
covered this in the AIP and I think that is the best language I've come up
with, so I've attached that below. As well as comment threads from Jens and
Jarek who +1 the idea during review:
Explanation from AIP:

Comment thread:



--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]