Lookups not working as expected

I am doing 2 lookups on same dimension in a GroupBy query.
The query result is as expected if both the lookups are one-to-one(injective: true). But if one of the lookups is Many-to-One(injective:false), the query result shows the original value(not looked up value).

– Query 1(works fine, both lookups are one-to-one, dimensions are same)

{

“queryType”: “groupBy”,

“dimensions”: [{

“type”: “lookup”,

“dimension”: “dim1”,

“outputName”: “out1”,

“name”: “OneToOneLookup1”

}, {

“type”: “lookup”,

“dimension”: “dim1”,

“outputName”: “out2”,

“name”: “OneToOneLookup2”

}],

}

Result of query 1:

[

{

“event”: {

“out1”: “looked up value”,

“metric”: val,

“out2”: “looked up value2”

}

}

]

Query 2(works fine, one of the lookups is many-to-one, dimensions are different)

{

“queryType”: “groupBy”,

“dimensions”: [{

“type”: “lookup”,

“dimension”: “dim1”,

“outputName”: “out1”,

“name”: “OneToOneLookup1”

}, {

“type”: “lookup”,

“dimension”: “dim2”,

“outputName”: “out2”,

“name”: “ManyToOneLookup2”

}],

}

Result of query 2:

[

{

“event”: {

“out1”: “looked up value”,

“metric”: val,

“out2”: “looked up value2”

}

}

]

Query 3

{

“queryType”: “groupBy”,

“dimensions”: [{

“type”: “lookup”,

“dimension”: “dim1”,

“outputName”: “out1”,

“name”: “OneToOneLookup1”

}, {

“type”: “lookup”,

“dimension”: “dim1”,

“outputName”: “out2”,

“name”: “ManyToOneLookup1”

}],

}

Result of query 3(result not as expected, one of the lookups is many-to-one, dimensions are same)

[

{

“event”: {

“out1”: “looked up value”,

“metric”: val,

“out2”: “original value

}

}

]