A PythonOperator using the MySqlHook should do the trick. Oh and you can call a PHP script from BashOperator.
One of the major difference is how tasks are defined. In Luigi, you have to derive a base task class to create a task. In Airflow you instantiate a task by calling an operator (you can think of an operator as a task…
A PythonOperator using the MySqlHook should do the trick. Oh and you can call a PHP script from BashOperator.
One of the major difference is how tasks are defined. In Luigi, you have to derive a base task class to create a task. In Airflow you instantiate a task by calling an operator (you can think of an operator as a task…