deprosun commented on PR #2005:
URL: https://github.com/apache/airflow/pull/2005#issuecomment-1111209271

   Has to be 
   ```python
   MetastorePartitionSensor(
       dag=dag,
       task_id="t",
       schema="some_schema",
       table="some_table",
       partition_name=(
           "visit_date=some_date" # without quotes
       ),
       sql="", # have to provide an empty string due to inheritance issue
       # conn_id and mysql_conn_id have to be duplicated 
       conn_id="hive_conn",
       mysql_conn_id="hive_conn",
       soft_fail=True,
       mode="reschedule",
       poke_interval=60,
       timeout=300,
   )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to