What is the bug?
Currently, since we use hashmap in
|
Map<String, OpenSearchDataType> fieldTypes = new HashMap<>(); |
The schema's order is not fixed and can be influenced by external condition like random seeds. It can cause future block in IT.
What is the expected behavior?
Replace by linkedHashMap.
What is your host/environment?
- OS: [e.g. iOS]
- Version [e.g. 22]
- Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
What is the bug?
Currently, since we use hashmap in
sql/opensearch/src/main/java/org/opensearch/sql/opensearch/request/system/OpenSearchDescribeIndexRequest.java
Line 100 in f1e3b5b
The schema's order is not fixed and can be influenced by external condition like random seeds. It can cause future block in IT.
What is the expected behavior?
Replace by linkedHashMap.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.