We created a custom UDF for Dremio that uses one of our native libraries. Calling the native library incurs overhead so we typically process a batch of values at a time. However, each iteration of the Dremio UDF eval() only provides offsets for a single value from the buffer.
Is it possible to read a chunk of the buffer into a list of values during setup() or eval()? This would allow us to reduce calls to our native library, perhaps cache the results to optimize subsequent iterations of eval().