[v11.0.x] MySQL: snapshot tests (#86184)

MySQL: snapshot tests (#84846)

mysql: add snapshot tests
(cherry picked from commit 3b7ee3a56b)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-04-15 16:28:08 +01:00
committed by GitHub
parent bce6d445e9
commit 708ba6f3ac
41 changed files with 3006 additions and 0 deletions
+112
View File
@@ -0,0 +1,112 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "executedQueryString": "SELECT * FROM tbl"
// }
// Name:
// Dimensions: 3 Fields by 10 Rows
// +-------------------------------+------------------+-----------------+
// | Name: time | Name: v | Name: c |
// | Labels: | Labels: | Labels: |
// | Type: []*time.Time | Type: []*float64 | Type: []*string |
// +-------------------------------+------------------+-----------------+
// | 2023-12-24 14:30:03 +0000 UTC | 10 | a |
// | 2023-12-24 14:30:03 +0000 UTC | 110 | b |
// | 2023-12-24 14:31:03 +0000 UTC | 20 | a |
// | 2023-12-24 14:31:03 +0000 UTC | 120 | b |
// | 2023-12-24 14:32:03 +0000 UTC | 30 | a |
// | 2023-12-24 14:32:03 +0000 UTC | 130 | b |
// | 2023-12-24 14:33:03 +0000 UTC | 40 | a |
// | 2023-12-24 14:33:03 +0000 UTC | 140 | b |
// | 2023-12-24 14:34:03 +0000 UTC | 50 | a |
// | 2023-12-24 14:34:03 +0000 UTC | 150 | b |
// +-------------------------------+------------------+-----------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"typeVersion": [
0,
0
],
"executedQueryString": "SELECT * FROM tbl"
},
"fields": [
{
"name": "time",
"type": "time",
"typeInfo": {
"frame": "time.Time",
"nullable": true
}
},
{
"name": "v",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
}
},
{
"name": "c",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
}
}
]
},
"data": {
"values": [
[
1703428203000,
1703428203000,
1703428263000,
1703428263000,
1703428323000,
1703428323000,
1703428383000,
1703428383000,
1703428443000,
1703428443000
],
[
10,
110,
20,
120,
30,
130,
40,
140,
50,
150
],
[
"a",
"b",
"a",
"b",
"a",
"b",
"a",
"b",
"a",
"b"
]
]
}
}
]
}