TestData: Support labels in CSV content name (#61337)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Ryan McKinley
2023-05-26 09:36:43 -07:00
committed by GitHub
parent 4aa207ed83
commit effe21fb65
4 changed files with 93 additions and 1 deletions
+79
View File
@@ -0,0 +1,79 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0]
// Name: labels
// Dimensions: 3 Fields by 2 Rows
// +----------------------+-----------------+-------------------------------+
// | Name: a | Name: b | Name: |
// | Labels: foo=bar, x=y | Labels: foo=baz | Labels: foo=x, idx=2, no=name |
// | Type: []*int64 | Type: []*int64 | Type: []*int64 |
// +----------------------+-----------------+-------------------------------+
// | 1 | 2 | 3 |
// | 4 | 5 | 6 |
// +----------------------+-----------------+-------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"name": "labels",
"fields": [
{
"name": "a",
"type": "number",
"typeInfo": {
"frame": "int64",
"nullable": true
},
"labels": {
"foo": "bar",
"x": "y"
}
},
{
"name": "b",
"type": "number",
"typeInfo": {
"frame": "int64",
"nullable": true
},
"labels": {
"foo": "baz"
}
},
{
"type": "number",
"typeInfo": {
"frame": "int64",
"nullable": true
},
"labels": {
"foo": "x",
"idx": "2",
"no": "name"
}
}
]
},
"data": {
"values": [
[
1,
4
],
[
2,
5
],
[
3,
6
]
]
}
}
]
}