NQ31 opened a new issue, #34330:
URL: https://github.com/apache/airflow/issues/34330
### Apache Airflow version
2.7.1
### What happened
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError)
(1067, "Invalid default value for 'updated_at'")
[SQL:
CREATE TABLE dataset (
id INTEGER NOT NULL AUTO_INCREMENT,
uri VARCHAR(3000) COLLATE latin1_general_cs NOT NULL,
extra JSON NOT NULL,
created_at TIMESTAMP(6) NOT NULL,
updated_at TIMESTAMP(6) NOT NULL,
is_orphaned BOOL NOT NULL DEFAULT '0',
CONSTRAINT dataset_pkey PRIMARY KEY (id)
)
]
(Background on this error at: https://sqlalche.me/e/14/e3q8)
### What you think should happen instead
我认为应该是初始化的时候,有bug
### How to reproduce
重新初始化
### Operating System
centos7.9
### Versions of Apache Airflow Providers
_No response_
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]