mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
merge groupcount translations check into an else-if
This commit is contained in:
parent
0a9699490b
commit
8549b74421
1 changed files with 1 additions and 2 deletions
|
|
@ -5204,8 +5204,7 @@ func (e *executor) translateResult(ctx context.Context, index string, idx *Index
|
|||
for i, g := range gl.Group {
|
||||
if ft, ok := fieldTranslations[g.Field]; ok {
|
||||
g.RowKey = ft[g.RowID]
|
||||
}
|
||||
if ft, ok := foreignTranslations[g.Field]; ok && g.Value != nil {
|
||||
} else if ft, ok := foreignTranslations[g.Field]; ok && g.Value != nil {
|
||||
g.RowKey = ft[uint64(*g.Value)]
|
||||
g.Value = nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue