Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Flatten command should not remove existing field #1029

Open
currantw opened this issue Feb 3, 2025 · 0 comments
Open

[FEATURE] Flatten command should not remove existing field #1029

currantw opened this issue Feb 3, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@currantw
Copy link
Contributor

currantw commented Feb 3, 2025

Is your feature request related to a problem?

The behaviour of the flatten command is inconsistent between OpenSearch Spark, OpenSearch SQL, and Splunk:

  • In OpenSearch SQL and Splunk, the flatten command does not remove the existing field that is being flattened.
  • In OpenSearch Spark, the existing field is removed by the flatten command.

The behaviour should, at least,m be consistent between OpenSearch Spark and OpenSearch SQL.

What solution would you like?

Update OpenSearch Spark's flatten command so that the existing field is not removed.

What alternatives have you considered?

We could alternatively update OpenSearch SQL so that its behaviour is consistent with OpenSearch Spark (i.e. so that the field being flattened is removed from the search results).

Do you have any additional context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants