Closed liuyehcf closed 2 years ago
The difference is only in the precision bits, and if we compare the results of these two engines using the sub query
SELECT avg(v3) OVER (PARTITION BY v2 ORDER BY v1,v3 ROWS BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING ) AS wv, * FROM analytic.t0 ORDER BY v2,v1,v3,wv;
we found that the result is exactly the same.
So maybe it is acceptable to loss precision in some degree.
Steps to reproduce the behavior (Required)
Expected behavior (Required)
The result of non-pipeline engine and pipeline engine are exactly the same
Real behavior (Required)
result of pipeline engine
result of non-pipeline engine
StarRocks version (Required)
select current_version()