Super Richman
05/12/2023, 9:13 AM2023-05-12T09:12:00.131416Z E i.q.s.BytecodeAssembler Too much input to generate io.questdb.griffin.engine.groupby.GroupByFunctionsUpdater. Bytecode is too long
Jaromir Hamala
05/12/2023, 11:31 AMSuper Richman
05/12/2023, 11:40 AMJaromir Hamala
05/12/2023, 11:55 AMSuper Richman
05/12/2023, 12:01 PMJaromir Hamala
05/12/2023, 12:07 PMSuper Richman
05/12/2023, 12:07 PMJaromir Hamala
05/12/2023, 12:12 PMSuper Richman
05/12/2023, 12:18 PMJaromir Hamala
05/12/2023, 12:25 PMsum()
(and hence avg()
) on floating point numbers is not guaranteed to be associative.
in other words: (1.0 + 1.1) + 1.2
does not necessary yield precicely the same result as 1.0 + (1.1 + 1.2)
as anyone with basic math knowledge could expect:) (well, it does in this case, but you get the point).
this is not QuestDB-specific, it’s due to how floating points numbers are represented internally inside a computer. this may or may not be an issue for your use-case.Super Richman
05/12/2023, 12:26 PMJaromir Hamala
05/12/2023, 1:01 PMavg()
?Super Richman
05/12/2023, 1:11 PMJaromir Hamala
05/12/2023, 1:15 PMSuper Richman
05/12/2023, 1:20 PMJaromir Hamala
05/12/2023, 1:59 PM