File tree Expand file tree Collapse file tree
opensearch/src/main/java/org/opensearch/sql/opensearch/request/system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111import java .util .ArrayList ;
1212import java .util .Arrays ;
13+ import java .util .HashMap ;
1314import java .util .LinkedHashMap ;
1415import java .util .List ;
1516import java .util .Locale ;
@@ -98,7 +99,7 @@ public List<ExprValue> search() {
9899 */
99100 // TODO possible collision if two indices have fields with the same name and different mappings
100101 public Map <String , OpenSearchDataType > getFieldTypes () {
101- Map <String , OpenSearchDataType > fieldTypes = new LinkedHashMap <>();
102+ Map <String , OpenSearchDataType > fieldTypes = new HashMap <>();
102103 Map <String , IndexMapping > indexMappings =
103104 client .getIndexMappings (getLocalIndexNames (indexName .getIndexNames ()));
104105 for (IndexMapping indexMapping : indexMappings .values ()) {
You can’t perform that action at this time.
0 commit comments