ClickHouse/tests/queries/0_stateless/03240_quantile_exact_weighted_interpolated.reference
maxvostrikov ead7630d04 Missing tests in several tests in 24.10
Added corner cases for tests for:
to_utc_timestamp and from_utc_timestamp (more timezones, spetial timezones, epoch corners does not look right, raising a bug over that)
arrayUnion (empty and big arrays)
quantilesExactWeightedInterpolated (more data types)
2024-11-05 14:28:28 +01:00

24 lines
816 B
Plaintext

quantileExactWeightedInterpolated
0 0 0 25 2024-02-20 Decimal(38, 8)
-25.5 -8.49999999 -5.1 12.25 2024-01-25 Decimal(38, 8)
0 0 0
10 3.33333333 2
20 6.66666666 4
30 10 6
40 13.33333333 8
50 16.66666666 10
[-50,-40,-30,-20,-10,0,10,20,30,40,50]
[-16.66666666,-13.33333333,-10,-6.66666666,-3.33333333,0,3.33333333,6.66666666,10,13.33333333,16.66666666]
[-10,-8,-6,-4,-2,0,2,4,6,8,10]
[0,5,10,15,20,25,30,35,40,45,50]
['2024-01-01','2024-01-11','2024-01-21','2024-01-31','2024-02-10','2024-02-20','2024-03-01','2024-03-11','2024-03-21','2024-03-31','2024-04-10']
quantileExactWeightedInterpolatedState
[10000.6,20000.2,29999.8,39999.4]
Test with filter that returns no rows
0 0 0 nan 1970-01-01
0 0 0 nan 1970-01-01
Test with dynamic weights
21 7 4.2 35.5 2024-03-12
Test with all weights set to 0
0 0 0 nan 1970-01-01