-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
orms: support for Apache Airflow #32537
Comments
Hi @miry sorry to hear you are having issues with the CockroachDB SQLAlchemy integration. Can you please give a detailed list of the steps you took to attempt the migration that caused the error message above? |
@rytaft thanks for response. I followed this documentation with small modifications:
After I checked logs for Init container: https://github.com/apache/incubator-airflow/blob/master/scripts/ci/kubernetes/kube/airflow.yaml#L66 |
@miry thanks for the extra details.
Before we look at this it would be best if you could ensure that your Airflow setup works with a dummy PostgreSQL database, to verify the issue is indeed with CockroachDB.
Thanks in advance. |
@rytaft It works nice with Postgresql. |
@rytaft Thanks for the tip. I will try to collect more logs.
|
I encountered this exact scenario. I have airflow fully running with postgres already with Attached is an exec log. What I did in cockroach was enable the exec trace, then I did
And then in my airflow-webserver container, I did |
I made a little more progress with Airflow, after the work in #38318. The next thing we don't support is an |
I manually changed @jasonmay what are some other good smoke tests I could run against airflow? |
@jordanlewis |
Also |
I don't know if this was recently introduced or not but I can't |
Maybe it should be on sqlAlchemy's side to change |
Is this Apache Airflow issue stale? |
I tested python cockroachdb version 2.1 with Airflow.
It fails on migration: https://github.com/apache/incubator-airflow/blob/master/airflow/migrations/versions/2e541a1dcfed_task_duration.py
With exception:
sqlalchemy construct has no default compilation handler.
Jira issue: CRDB-4737
The text was updated successfully, but these errors were encountered: