The “Submit Run” operator is being imported just fine into my environment it appears, as is the case with you.
The “Run Now” operator does not appear to be importing successfully. I still get this error: Broken DAG: [/usr/local/airflow/dags/example-databricks-dag.py] cannot import name ‘DatabricksRunNowOperator’
I just checked the history on Github and it was not committed to Airflow until September 6, 2018, so perhaps that version of Airflow has not made it into Astronomer
If you want to see the DAG code that gave me the above error, here it is:
from airflow import DAG
from airflow.contrib.operators.databricks_operator import DatabricksRunNowOperator
from datetime import datetime, timedelta
Hey @zdestefano- Sorry for the spam issues- looks like Discourse automatically flags comments as spam if there are multiple consecutive comments that link out to the same host (in this case github.com). I just fixed our settings up so you shouldn’t have issues with that going forward.
As far as the issue goes, you can follow along with the response here to run Airflow 1.10 on Astronomer. That should include the commit you linked above.