I haven't used Gandiva, but it seems like you could potentially make a dummy field node [1] for this purpose where you provide the value.
As a side note, I'm not sure varying parameters each time is the best way to implement a group-by-operation. -Micah [1] https://github.com/apache/arrow/blob/master/cpp/src/gandiva/proto/Types.proto#L91 On Tue, Jul 21, 2020 at 1:45 PM Gopinath Jaganmohan <[email protected]> wrote: > Hi, > > > > I would like to do compile once and run many using Gandiva Filter, here > only the scalar change for each run. Currently I had to recreate the entire > filter before evaluate. If there is way to pass scalar to evaluate then it > would drastically reduce the compile time and allow reuse the same compiled > code. > > > > Our real use case is to implement group by. > > > > Thanks > > Gopinath Jaganmohan > > CTO | ConverSight.ai > > [image: signature_1969309644][email protected] | [image: > signature_1414236063] 812.371.3300 | [image: signature_466943024] > www.conversight.ai > > > > >
