Skip to content

Sqlite3 Error when running task #13241

Answered by potiuk
bmccorm2 asked this question in Q&A
Dec 22, 2020 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

This is the version:

root@cdc6c7cda35e:/opt/airflow# sqlite3 --version
3.27.2 2019-02-25 16:06:06 bd49a8271d650fa89e446b42e513b595a717b9212c91dd384aab871fc1d0alt1

I tried to manually run the query in my sqlite and I did not get syntax error, so i think it is indeed the version problem. you can try it yourself:

airfow db shell

Above should drop you to the interactive sqlite3 connected to your database.

Then copy&paste this query:

DELETE FROM rendered_task_instance_fields WHERE rendered_task_instance_fields.dag_id = 'test' AND rendered_task_instance_fields.task_id = 'date' AND (rendered_task_instance_fields.dag_id, rendered_task_instance_fields.task_id, rendered_task_instance_fields.execu…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bmccorm2
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bmccorm2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants