Commit 09a8c795 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Fix win_std nondeterministic results

parent 3dd3a5da
......@@ -26,34 +26,6 @@ std(c) over (order by a)
0
0
0
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
Warning 1292 Truncated incorrect DOUBLE value: 'one '
Warning 1292 Truncated incorrect DOUBLE value: 'two '
Warning 1292 Truncated incorrect DOUBLE value: 'three '
# Empty frame.
select std(b) over (order by a rows between 2 following and 1 following)
from t2;
......
......@@ -19,9 +19,11 @@ insert into t2 values
( 5, 1, 1, 'two'),
( 6, 1, 2, 'three');
--disable_warnings
--echo # First try some invalid queries.
select std(c) over (order by a)
from t2;
--enable_warnings
--echo # Empty frame.
select std(b) over (order by a rows between 2 following and 1 following)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment