Fokko commented on a change in pull request #4018: [AIRFLOW-XXX] Log query and
task_id in druid-hook
URL: https://github.com/apache/incubator-airflow/pull/4018#discussion_r224707282
##########
File path: airflow/hooks/druid_hook.py
##########
@@ -76,6 +77,7 @@ def submit_indexing_job(self, json_index_spec):
req_json = req_index.json()
# Wait until the job is completed
druid_task_id = req_json['task']
+ self.log.info(druid_task_id)
Review comment:
Maybe make this a bit more intuitive (and grep-able): `self.log.info("Druid
indexing task-id: {}".format(druid_task_id))`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services