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

Transformation Support for ES 6.8 to OS 2.0 #1115

Open
sumobrian opened this issue Nov 5, 2024 · 0 comments
Open

Transformation Support for ES 6.8 to OS 2.0 #1115

sumobrian opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request MAv2.1

Comments

@sumobrian
Copy link
Collaborator

sumobrian commented Nov 5, 2024

Is your feature request related to a problem?

The current transformation framework has several limitations. Customers face challenges applying transformations to tuples, RFS documents, and metadata, leading to incomplete or inconsistent migrations. Additionally, all transformations are applied to every request, making it difficult to debug complex transformation behaviors. Furthermore, there is no local developer workflow to easily test transformations, and the absence of comments in transformation specs hinders documentation.

What solution would you like?

We seek to extend the transformation framework by:

  • Adding transformation support for Tuples, RFS documents, and Metadata Migrations.
  • Incorporating JMESPath Predicates to selectively apply transformations.
  • Allowing comments in transformation specs to improve readability and documentation.
  • Providing local tools for easier testing of transformations, including cluster modification utilities.
  • Creating a Python-based transformation system to complement the current Java implementation.
  • Improving the developer iteration cycle for transformation creation and testing, potentially using GenAI.

What alternatives have you considered?

  • Keeping the current system and providing only documentation and examples for more common transformations.
  • Relying on manual post-migration processes to handle limitations, such as RFS documents and metadata transformations, instead of automating them within the framework.
  • Using other templating languages or providing pre-built transformation libraries, such as Jinja or specialized JSON manipulation tools.

Do you have any additional context?

The transformation framework should be robust enough to handle all phases of the migration process, including tuples, RFS, and metadata. The limitations currently hinder seamless migrations, particularly for more complex use cases like data analysis or direct capture and replay of requests. Addressing these limitations will significantly reduce the manual overhead and improve migration efficiency for OpenSearch customers.

Child Issue:

Allow Renaming of an Index from Source to Target with Transformations
#1082

@sumobrian sumobrian added enhancement New feature or request untriaged and removed untriaged labels Nov 5, 2024
@sumobrian sumobrian moved this from Not Committed to Within 3 Months in OpenSearch Migrations - Roadmap Nov 5, 2024
@sumobrian sumobrian added MAv2.1 and removed untriaged labels Nov 5, 2024
@sumobrian sumobrian changed the title [FEATURE] Transformation Support for ES 6.8 to OS 2.0 Transformation Support for ES 6.8 to OS 2.0 Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MAv2.1
Projects
Status: Within 3 Months
Development

No branches or pull requests

1 participant