Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit dcbe851

Browse files
committed
data streams too
1 parent fa337f8 commit dcbe851

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

quesma/quesma/functionality/resolve/resolve.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"quesma/elasticsearch"
77
"quesma/quesma/config"
88
"quesma/schema"
9-
"slices"
109
)
1110

1211
func HandleResolve(pattern string, sr schema.Registry, cfg *config.QuesmaConfiguration) (elasticsearch.Sources, error) {
@@ -52,11 +51,6 @@ func HandleResolve(pattern string, sr schema.Registry, cfg *config.QuesmaConfigu
5251
}
5352

5453
func combineSourcesFromElasticWithRegistry(sourcesFromElastic *elasticsearch.Sources, schemas map[schema.TableName]schema.Schema, normalizedPattern string) {
55-
sourcesFromElastic.DataStreams = slices.DeleteFunc(sourcesFromElastic.DataStreams, func(i elasticsearch.DataStream) bool {
56-
_, exists := schemas[schema.TableName(i.Name)]
57-
return exists
58-
})
59-
6054
for name, currentSchema := range schemas {
6155
indexName := name.AsString()
6256

0 commit comments

Comments
 (0)