I hope u need to add **metastore_conn_id** param into http://pythonhosted.org/airflow/code.html#airflow.operators.HivePartitionSensor description Thanks !