What is the bug?
A PPL query fails to execute when using an existing field name after AS in the STATS command.
How can one reproduce the bug?
source=opensearch_dashboards_sample_data_logs | stats count() as request by `machine.os`
request is an existing field of opensearch_dashboards_sample_data_logs
What is the expected behavior?
The query should execute successfully and rename the count aggregation to request