@@ -20,19 +20,19 @@ func TestGroupingFeatureRefs(t *testing.T) {
20
20
NameAlias : "aliasViewA" ,
21
21
},
22
22
},
23
- EntityNames : []string {"driver" , "customer" },
23
+ Entities : []string {"driver" , "customer" },
24
24
}
25
25
viewB := & model.FeatureView {
26
- Base : & model.BaseFeatureView {Name : "viewB" },
27
- EntityNames : []string {"driver" , "customer" },
26
+ Base : & model.BaseFeatureView {Name : "viewB" },
27
+ Entities : []string {"driver" , "customer" },
28
28
}
29
29
viewC := & model.FeatureView {
30
- Base : & model.BaseFeatureView {Name : "viewC" },
31
- EntityNames : []string {"driver" },
30
+ Base : & model.BaseFeatureView {Name : "viewC" },
31
+ Entities : []string {"driver" },
32
32
}
33
33
viewD := & model.FeatureView {
34
- Base : & model.BaseFeatureView {Name : "viewD" },
35
- EntityNames : []string {"customer" },
34
+ Base : & model.BaseFeatureView {Name : "viewD" },
35
+ Entities : []string {"customer" },
36
36
}
37
37
refGroups , _ := GroupFeatureRefs (
38
38
[]* FeatureViewAndRefs {
@@ -105,11 +105,11 @@ func TestGroupingFeatureRefsWithJoinKeyAliases(t *testing.T) {
105
105
JoinKeyMap : map [string ]string {"location_id" : "destination_id" },
106
106
},
107
107
},
108
- EntityNames : []string {"location" },
108
+ Entities : []string {"location" },
109
109
}
110
110
viewB := & model.FeatureView {
111
- Base : & model.BaseFeatureView {Name : "viewB" },
112
- EntityNames : []string {"location" },
111
+ Base : & model.BaseFeatureView {Name : "viewB" },
112
+ Entities : []string {"location" },
113
113
}
114
114
115
115
refGroups , _ := GroupFeatureRefs (
@@ -164,7 +164,7 @@ func TestGroupingFeatureRefsWithMissingKey(t *testing.T) {
164
164
JoinKeyMap : map [string ]string {"location_id" : "destination_id" },
165
165
},
166
166
},
167
- EntityNames : []string {"location" },
167
+ Entities : []string {"location" },
168
168
}
169
169
170
170
_ , err := GroupFeatureRefs (
0 commit comments