opensearch-project/opensearch-benchmark-workloads

[FEATURE] Allow variations of the workload(s) with compatible data types

Open

#91 opened on Jul 26, 2023

 (2 comments) (0 reactions) (1 assignee)Python (137 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (33 stars)
PR merge metrics
 (PR metrics pending)

Description

Is your feature request related to a problem?

OpenSearch supports several data types such as byte, short, float, double, geopoint and so on. Backend performance of operations on these data types can change, for instance as a consequence of sort optimizations. However, the existing workloads don’t exercise all these data types in the index mapping even though some of them are compatible with one another for eg. long and unsigned_long, strict_date_optional_time and YYYY-MM-DDTHH:mm:ssZ etc. As an OpenSearch developer, I want to be able to track indexing performance for operations on compatible data types. Right now one has to manually change index.json for changing data types in the mapping.

What solution would you like?

One should also have the option to provide type of any field defined in workload mapping as workload-params as being done for a specific type in this PR

What alternatives have you considered?

Continue with ad-hoc index mapping modifications

Contributor guide