Owen-CH-Leung commented on PR #31920: URL: https://github.com/apache/airflow/pull/31920#issuecomment-1625045594
Hi @pankajkoti , Thanks for your info. Yes I can reproduce the error and my initial finding suggests to me that it's a bug at the existing code (rather than configuration issue). The error comes from the fact that the program tries to make a http request to `/_all/count` endpoint (to count all the documents under all indexes) , and this endpoint doesn't support sort parameter defined in my query below: https://github.com/apache/airflow/blob/main/airflow/providers/elasticsearch/log/es_task_handler.py#L320 Hence the exception `elasticsearch.exceptions.RequestError: RequestError(400, 'parsing_exception', 'request does not support [sort]')` I'm still trouble shooting to find out the exact root cause of the error. will keep you posted on this -- 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]
