ephraimbuddy commented on a change in pull request #21462:
URL: https://github.com/apache/airflow/pull/21462#discussion_r803159456
##########
File path: airflow/models/taskinstance.py
##########
@@ -365,7 +364,7 @@ class TaskInstance(Base, LoggingMixin):
external_executor_id = Column(String(ID_LEN, **COLLATION_ARGS))
# The trigger to resume on if we are in state DEFERRED
- trigger_id = Column(BigInteger)
+ trigger_id = Column(Integer)
Review comment:
None of the DB likes this and we are also not using BigInteger in the
migration file. From mssql:
```
sqlalchemy.exc.ProgrammingError: (pyodbc.ProgrammingError) ('42000',
"[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Column
'trigger.id' is not the same data type as referencing column
'task_instance.trigger_id' in foreign key 'task_instance_trigger_id_fkey'.
```
--
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]