194
mapper *chasm.VisibilitySearchAttributesMapper,
195
namespaceName namespace.Name,
197
>
customSAs, chasmSAs := splitSearchAttributes(exec.SearchAttributes)
198
>
199
>
chasmAliasedSAs, err := aliasChasmSearchAttributes(chasmSAs, mapper)
200
>
if err != nil {
201
return nil, err
202
}
203
205
>
chasmAliasedSAs = &commonpb.SearchAttributes{
206
>
IndexedFields: make(map[string]*commonpb.Payload),
207
>
}
208
>
}
209
// Surface registered system search attribute overrides (e.g. TaskQueue, ExecutionTime), which
210
// are stored in dedicated system columns rather than the search attribute blob.
212
if value, ok := chasmSystemOverrideValue(exec, field); ok {
213
chasmAliasedSAs.IndexedFields[field] = sadefs.MustEncodeValue(value, valueType)