mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 14:52:16 +08:00
postgres: test: switch to numbers that are represented well in floating point (#80722)
This commit is contained in:
@ -15,8 +15,8 @@
|
||||
// | Labels: | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one | Labels: t=one |
|
||||
// | Type: []time.Time | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 |
|
||||
// +-------------------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+
|
||||
// | 2023-12-21 11:30:03 +0000 UTC | 10.1 | 11.1 | 12.1 | 13.1 | 101 | 102 | 103 | 104 | 105 | 106 |
|
||||
// | 2023-12-21 11:31:03 +0000 UTC | null | 21.1 | null | 23.1 | null | 202 | null | 204 | null | 206 |
|
||||
// | 2023-12-21 11:30:03 +0000 UTC | 3.78125 | 451.5625 | 52.25 | 511.3125 | 101 | 102 | 103 | 104 | 105 | 106 |
|
||||
// | 2023-12-21 11:31:03 +0000 UTC | null | 464.375 | null | 346.125 | null | 202 | null | 204 | null | 206 |
|
||||
// +-------------------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+
|
||||
//
|
||||
//
|
||||
@ -161,20 +161,20 @@
|
||||
1703158263000
|
||||
],
|
||||
[
|
||||
10.1,
|
||||
3.78125,
|
||||
null
|
||||
],
|
||||
[
|
||||
11.1,
|
||||
21.1
|
||||
451.5625,
|
||||
464.375
|
||||
],
|
||||
[
|
||||
12.1,
|
||||
52.25,
|
||||
null
|
||||
],
|
||||
[
|
||||
13.1,
|
||||
23.1
|
||||
511.3125,
|
||||
346.125
|
||||
],
|
||||
[
|
||||
101,
|
||||
|
@ -20,10 +20,10 @@ v1, v1nn, v2, v2nn,
|
||||
t,
|
||||
x1, x1nn, x2, x2nn, x3, x3nn) VALUES
|
||||
('2023-12-21 11:30:03 UTC',
|
||||
10.1, 11.1, 12.1, 13.1,
|
||||
3.78125, 451.5625, 52.25, 511.3125,
|
||||
'one',
|
||||
101, 102, 103, 104, 105, 106),
|
||||
('2023-12-21 11:31:03 UTC',
|
||||
NULL, 21.1, NULL, 23.1,
|
||||
NULL, 464.375, NULL, 346.125,
|
||||
'one',
|
||||
NULL, 202, NULL, 204, NULL, 206);
|
Reference in New Issue
Block a user