From a scalar operation perspective, you could of course emulate XOR via AND, OR, and negation. However, you might want to write anyway a java-based UDF to efficiently implement this recursive operator.

Down the road, we can think about a generalization of our existing cumulative operations such as cumsum, cumprod, cummax, to arbitrary cell computations and aggregation functions, which would be useful for quite a number of applications.


On Thu, Aug 31, 2017 at 5:59 AM, Janardhan Pulivarthi <> wrote:

The following is an equation (2.4) from the algorithm for the generation of sobol sequences. The authors of the paper have utilized the bitwise operations of C++ to calculate this efficiently. 

Now, the question is: Can we do this at script level (in dml) or we should do it in the `java` itself as a builtin, function to generate the numbers?.