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

Allow longer rendered_map_index #37798

Merged
merged 3 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def upgrade():
conn = op.get_bind()

with op.batch_alter_table("task_instance") as batch_op:
batch_op.add_column(sa.Column("rendered_map_index", sa.String(length=64), nullable=True))
batch_op.add_column(sa.Column("rendered_map_index", sa.String(length=250), nullable=True))


def downgrade():
Expand Down
2 changes: 1 addition & 1 deletion airflow/models/taskinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ class TaskInstance(Base, LoggingMixin):
pid = Column(Integer)
executor_config = Column(ExecutorConfigType(pickler=dill))
updated_at = Column(UtcDateTime, default=timezone.utcnow, onupdate=timezone.utcnow)
rendered_map_index = Column(String(64))
rendered_map_index = Column(String(250))
RNHTTR marked this conversation as resolved.
Show resolved Hide resolved

external_executor_id = Column(StringID())

Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/img/airflow_erd.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
798cc78efa225287635e12ec3cebc6025bbb4d8e0b629fb7a17f4c7f168bfc65
ed425ca6e30d06e1a1f64b9fd30043db7fb3e3a0196c57a77a4f1edc6a1d8ada
10 changes: 5 additions & 5 deletions docs/apache-airflow/img/airflow_erd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.