[ES|QL] Correct the lens_map_to_columns function call arguments (#213038)

## Summary

The else is being called atm only in Discover ES|QL mode, when the user
is typing stats or keep.
The `isTextBased` flag is missing which means that we don't call the
`mapToOriginalColumnsTextBased` but the one for the dsl mode which might
cause bugs.

I don't think that Peter had any reason to do so, it seems more as it
slipped.
This commit is contained in:
Stratoula Kalafateli 2025-03-04 11:58:27 +01:00 committed by GitHub
parent aae11b0161
commit e24c1c3ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,7 @@ function getExpressionForLayer(
function: 'lens_map_to_columns',
arguments: {
idMap: [JSON.stringify(idMapper)],
isTextBased: [true],
},
},
...formatterOverrides,