Open lezzago opened 2 months ago
Not sure if it relates to https://github.com/opensearch-project/OpenSearch/issues/14355. @penghuo, how does the RenameOperator
work in SQL engine? If the implementation relates to rename field processor
, it might be the bug of OpenSearch Core.
What is the bug? Rename does not work with nested fields. When I tried to rename a nested field, the renamed field would just have empty values. This is an example query that has issues:
How can one reproduce the bug? Make a similar query to the one below that renames a nested field
What is the expected behavior? The values from the renamed field should not be empty
What is your host/environment?