Open alan-ghelardi opened 1 year ago
/assign
@alan-ghelardi as long as it provides the functionality, it should be good. We just have to make sure to document that.
Hey @alan-ghelardi, were you able to make some progress on this one?
It's been long since this issue was opened, I will reassign it to myself.
/assign
@avinal and all, I'm thinking of implementing support for the has macro instead of the exists one, because the later takes a predicate, which is harder to translate to SQL at a first glance.
The has macro tests whether a field exists in a message or a key in a map, what seems to cover the use cases. Also, it adresses what @sayan-biswas was trying to do in the example described at https://github.com/tektoncd/results/issues/498, although the root cause of that issue need to be adressed too.
What do you think? I'll have some free space this week and I'm planning to work in a pull request for this case.