data : [1, 4, 6, 8]
result : 1 * 4 * 6 * 8 = 192
SELECT exp2(arraySum(x -> log2(x), [1, 4, 6, 8]))
ββexp2(arraySum(lambda(tuple(x), log2(x)), [1, 4, 6, 8]))ββ
β 192 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Good idea, Thanks
Most helpful comment