Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
07f81789
Unverified
Commit
07f81789
authored
Jul 13, 2020
by
Ryan McKinley
Committed by
GitHub
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InfluxDB: include sample response data for each test case (#26248)
parent
d28b6274
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
219 additions
and
42 deletions
+219
-42
pkg/tsdb/influxdb/flux/executor_test.go
+30
-42
pkg/tsdb/influxdb/flux/testdata/aggregate.golden.txt
+18
-0
pkg/tsdb/influxdb/flux/testdata/buckets.golden.txt
+18
-0
pkg/tsdb/influxdb/flux/testdata/grouping.golden.txt
+58
-0
pkg/tsdb/influxdb/flux/testdata/multiple.golden.txt
+62
-0
pkg/tsdb/influxdb/flux/testdata/non_standard_time_column.golden.txt
+16
-0
pkg/tsdb/influxdb/flux/testdata/simple.golden.txt
+17
-0
No files found.
pkg/tsdb/influxdb/flux/executor_test.go
View file @
07f81789
...
@@ -11,7 +11,9 @@ import (
...
@@ -11,7 +11,9 @@ import (
"time"
"time"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp"
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/data"
"github.com/grafana/grafana-plugin-sdk-go/data"
"github.com/grafana/grafana-plugin-sdk-go/experimental"
"github.com/xorcare/pointer"
"github.com/xorcare/pointer"
influxdb2
"github.com/influxdata/influxdb-client-go"
influxdb2
"github.com/influxdata/influxdb-client-go"
...
@@ -48,15 +50,22 @@ func (r *MockRunner) runQuery(ctx context.Context, q string) (*api.QueryTableRes
...
@@ -48,15 +50,22 @@ func (r *MockRunner) runQuery(ctx context.Context, q string) (*api.QueryTableRes
return
client
.
QueryApi
(
"x"
)
.
Query
(
ctx
,
q
)
return
client
.
QueryApi
(
"x"
)
.
Query
(
ctx
,
q
)
}
}
func
TestExecuteSimple
(
t
*
testing
.
T
)
{
func
verifyGoldenResponse
(
name
string
)
(
*
backend
.
DataResponse
,
error
)
{
ctx
:=
context
.
Background
()
t
.
Run
(
"Simple Test"
,
func
(
t
*
testing
.
T
)
{
runner
:=
&
MockRunner
{
runner
:=
&
MockRunner
{
testDataPath
:
"simple
.csv"
,
testDataPath
:
name
+
"
.csv"
,
}
}
dr
:=
ExecuteQuery
(
ctx
,
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
dr
:=
ExecuteQuery
(
context
.
Background
(),
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
err
:=
experimental
.
CheckGoldenDataResponse
(
"./testdata/"
+
name
+
".golden.txt"
,
&
dr
,
true
)
return
&
dr
,
err
}
func
TestExecuteSimple
(
t
*
testing
.
T
)
{
t
.
Run
(
"Simple Test"
,
func
(
t
*
testing
.
T
)
{
dr
,
err
:=
verifyGoldenResponse
(
"simple"
)
if
err
!=
nil
{
t
.
Fatal
(
err
.
Error
())
}
if
dr
.
Error
!=
nil
{
if
dr
.
Error
!=
nil
{
t
.
Fatal
(
dr
.
Error
)
t
.
Fatal
(
dr
.
Error
)
...
@@ -85,15 +94,12 @@ func TestExecuteSimple(t *testing.T) {
...
@@ -85,15 +94,12 @@ func TestExecuteSimple(t *testing.T) {
}
}
func
TestExecuteMultiple
(
t
*
testing
.
T
)
{
func
TestExecuteMultiple
(
t
*
testing
.
T
)
{
ctx
:=
context
.
Background
()
t
.
Run
(
"Multiple Test"
,
func
(
t
*
testing
.
T
)
{
t
.
Run
(
"Multiple Test"
,
func
(
t
*
testing
.
T
)
{
runner
:=
&
MockRunner
{
dr
,
err
:=
verifyGoldenResponse
(
"multiple"
)
testDataPath
:
"multiple.csv"
,
if
err
!=
nil
{
t
.
Fatal
(
err
.
Error
())
}
}
dr
:=
ExecuteQuery
(
ctx
,
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
if
dr
.
Error
!=
nil
{
if
dr
.
Error
!=
nil
{
t
.
Fatal
(
dr
.
Error
)
t
.
Fatal
(
dr
.
Error
)
}
}
...
@@ -121,15 +127,12 @@ func TestExecuteMultiple(t *testing.T) {
...
@@ -121,15 +127,12 @@ func TestExecuteMultiple(t *testing.T) {
}
}
func
TestExecuteGrouping
(
t
*
testing
.
T
)
{
func
TestExecuteGrouping
(
t
*
testing
.
T
)
{
ctx
:=
context
.
Background
()
t
.
Run
(
"Grouping Test"
,
func
(
t
*
testing
.
T
)
{
t
.
Run
(
"Grouping Test"
,
func
(
t
*
testing
.
T
)
{
runner
:=
&
MockRunner
{
dr
,
err
:=
verifyGoldenResponse
(
"grouping"
)
testDataPath
:
"grouping.csv"
,
if
err
!=
nil
{
t
.
Fatal
(
err
.
Error
())
}
}
dr
:=
ExecuteQuery
(
ctx
,
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
if
dr
.
Error
!=
nil
{
if
dr
.
Error
!=
nil
{
t
.
Fatal
(
dr
.
Error
)
t
.
Fatal
(
dr
.
Error
)
}
}
...
@@ -157,16 +160,10 @@ func TestExecuteGrouping(t *testing.T) {
...
@@ -157,16 +160,10 @@ func TestExecuteGrouping(t *testing.T) {
}
}
func
TestAggregateGrouping
(
t
*
testing
.
T
)
{
func
TestAggregateGrouping
(
t
*
testing
.
T
)
{
ctx
:=
context
.
Background
()
t
.
Run
(
"Grouping Test"
,
func
(
t
*
testing
.
T
)
{
t
.
Run
(
"Grouping Test"
,
func
(
t
*
testing
.
T
)
{
runner
:=
&
MockRunner
{
dr
,
err
:=
verifyGoldenResponse
(
"aggregate"
)
testDataPath
:
"aggregate.csv"
,
if
err
!=
nil
{
}
t
.
Fatal
(
err
.
Error
())
dr
:=
ExecuteQuery
(
ctx
,
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
if
dr
.
Error
!=
nil
{
t
.
Fatal
(
dr
.
Error
)
}
}
if
len
(
dr
.
Frames
)
!=
1
{
if
len
(
dr
.
Frames
)
!=
1
{
...
@@ -210,16 +207,10 @@ func TestAggregateGrouping(t *testing.T) {
...
@@ -210,16 +207,10 @@ func TestAggregateGrouping(t *testing.T) {
}
}
func
TestNonStandardTimeColumn
(
t
*
testing
.
T
)
{
func
TestNonStandardTimeColumn
(
t
*
testing
.
T
)
{
ctx
:=
context
.
Background
()
t
.
Run
(
"Time Column"
,
func
(
t
*
testing
.
T
)
{
t
.
Run
(
"Time Column"
,
func
(
t
*
testing
.
T
)
{
runner
:=
&
MockRunner
{
dr
,
err
:=
verifyGoldenResponse
(
"non_standard_time_column"
)
testDataPath
:
"non_standard_time_column.csv"
,
if
err
!=
nil
{
}
t
.
Fatal
(
err
.
Error
())
dr
:=
ExecuteQuery
(
ctx
,
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
if
dr
.
Error
!=
nil
{
t
.
Fatal
(
dr
.
Error
)
}
}
if
len
(
dr
.
Frames
)
!=
1
{
if
len
(
dr
.
Frames
)
!=
1
{
...
@@ -255,15 +246,12 @@ func TestNonStandardTimeColumn(t *testing.T) {
...
@@ -255,15 +246,12 @@ func TestNonStandardTimeColumn(t *testing.T) {
}
}
func
TestBuckets
(
t
*
testing
.
T
)
{
func
TestBuckets
(
t
*
testing
.
T
)
{
ctx
:=
context
.
Background
()
t
.
Run
(
"Buckes"
,
func
(
t
*
testing
.
T
)
{
t
.
Run
(
"Buckes"
,
func
(
t
*
testing
.
T
)
{
runner
:=
&
MockRunner
{
dr
,
err
:=
verifyGoldenResponse
(
"buckets"
)
testDataPath
:
"buckets.csv"
,
if
err
!=
nil
{
t
.
Fatal
(
err
.
Error
())
}
}
dr
:=
ExecuteQuery
(
ctx
,
QueryModel
{
MaxDataPoints
:
100
},
runner
,
50
)
if
dr
.
Error
!=
nil
{
if
dr
.
Error
!=
nil
{
t
.
Fatal
(
dr
.
Error
)
t
.
Fatal
(
dr
.
Error
)
}
}
...
...
pkg/tsdb/influxdb/flux/testdata/aggregate.golden.txt
0 → 100644
View file @
07f81789
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {}
Name:
Dimensions: 2 Fields by 3 Rows
+-------------------------------+--------------------------+
| Name: Time | Name: |
| Labels: | Labels: host=hostname.ru |
| Type: []time.Time | Type: []*float64 |
+-------------------------------+--------------------------+
| 2020-06-05 12:06:00 +0000 UTC | 8.291 |
| 2020-06-05 12:07:00 +0000 UTC | 0.534 |
| 2020-06-05 12:08:00 +0000 UTC | 0.667 |
+-------------------------------+--------------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////0AEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAHQAAAADAAAATAAAACgAAAAEAAAAxP7//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADk/v//CAAAAAwAAAAAAAAAAAAAAAQAAABuYW1lAAAAAAT///8IAAAADAAAAAIAAAB7fQAABAAAAG1ldGEAAAAAAgAAALgAAAAYAAAAAAASABgAFAATABIADAAAAAgABAASAAAAFAAAAHAAAABwAAAAAAADAXAAAAACAAAAKAAAAAQAAABo////CAAAAAwAAAAAAAAAAAAAAAQAAABuYW1lAAAAAIj///8IAAAAIAAAABYAAAB7Imhvc3QiOiJob3N0bmFtZS5ydSJ9AAAGAAAAbGFiZWxzAAAAAAAAjv///wAAAgAAAAAAAAASABgAFAAAABMADAAAAAgABAASAAAAFAAAAEQAAABMAAAAAAAACkwAAAABAAAADAAAAAgADAAIAAQACAAAAAgAAAAQAAAABAAAAFRpbWUAAAAABAAAAG5hbWUAAAAAAAAAAAAABgAIAAYABgAAAAAAAwAEAAAAVGltZQAAAAAAAAAA/////7gAAAAUAAAAAAAAAAwAFgAUABMADAAEAAwAAAAwAAAAAAAAABQAAAAAAAADAwAKABgADAAIAAQACgAAABQAAABYAAAAAwAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAGAAAAAAAAAAAAAAAAgAAAAMAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAJABYFykFRYA6EhYaqQVFgBAkFB4pBUWokW28/2UIEBKDAIrhxbhP/LSTWIQWOU/EAAAAAwAFAASAAwACAAEAAwAAAAQAAAALAAAADgAAAAAAAMAAQAAAOABAAAAAAAAwAAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAKAAwAAAAIAAQACgAAAAgAAAB0AAAAAwAAAEwAAAAoAAAABAAAAMT+//8IAAAADAAAAAAAAAAAAAAABQAAAHJlZklkAAAA5P7//wgAAAAMAAAAAAAAAAAAAAAEAAAAbmFtZQAAAAAE////CAAAAAwAAAACAAAAe30AAAQAAABtZXRhAAAAAAIAAAC4AAAAGAAAAAAAEgAYABQAEwASAAwAAAAIAAQAEgAAABQAAABwAAAAcAAAAAAAAwFwAAAAAgAAACgAAAAEAAAAaP///wgAAAAMAAAAAAAAAAAAAAAEAAAAbmFtZQAAAACI////CAAAACAAAAAWAAAAeyJob3N0IjoiaG9zdG5hbWUucnUifQAABgAAAGxhYmVscwAAAAAAAI7///8AAAIAAAAAAAAAEgAYABQAAAATAAwAAAAIAAQAEgAAABQAAABEAAAATAAAAAAAAApMAAAAAQAAAAwAAAAIAAwACAAEAAgAAAAIAAAAEAAAAAQAAABUaW1lAAAAAAQAAABuYW1lAAAAAAAAAAAAAAYACAAGAAYAAAAAAAMABAAAAFRpbWUAAAAA+AEAAEFSUk9XMQ==
pkg/tsdb/influxdb/flux/testdata/buckets.golden.txt
0 → 100644
View file @
07f81789
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {}
Name:
Dimensions: 7 Fields by 3 Rows
+-----------------+----------------+-----------------+------------------+----------------------+-----------------------+-----------------------+
| Name: result | Name: table | Name: name | Name: id | Name: organizationID | Name: retentionPolicy | Name: retentionPeriod |
| Labels: | Labels: | Labels: | Labels: | Labels: | Labels: | Labels: |
| Type: []*string | Type: []*int64 | Type: []*string | Type: []*string | Type: []*string | Type: []*string | Type: []*int64 |
+-----------------+----------------+-----------------+------------------+----------------------+-----------------------+-----------------------+
| _result | 0 | grafana | 059b46a59abab001 | 059b46a59abab000 | null | 604800000000000 |
| _result | 0 | _tasks | 059b46a59abab002 | 059b46a59abab000 | null | 259200000000000 |
| _result | 0 | _monitoring | 059b46a59abab003 | 059b46a59abab000 | null | 604800000000000 |
+-----------------+----------------+-----------------+------------------+----------------------+-----------------------+-----------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////iAMAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAHQAAAADAAAATAAAACgAAAAEAAAAAP3//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAAAg/f//CAAAAAwAAAAAAAAAAAAAAAQAAABuYW1lAAAAAED9//8IAAAADAAAAAIAAAB7fQAABAAAAG1ldGEAAAAABwAAAHwCAAAAAgAApAEAAFABAADkAAAAeAAAAAQAAACy/f//FAAAAEQAAABEAAAAAAACAUgAAAABAAAABAAAAKD9//8IAAAAGAAAAA8AAAByZXRlbnRpb25QZXJpb2QABAAAAG5hbWUAAAAAAAAAACD+//8AAAABQAAAAA8AAAByZXRlbnRpb25QZXJpb2QAIv7//xQAAABEAAAARAAAAAAABQFAAAAAAQAAAAQAAAAQ/v//CAAAABgAAAAPAAAAcmV0ZW50aW9uUG9saWN5AAQAAABuYW1lAAAAAAAAAAAQ/v//DwAAAHJldGVudGlvblBvbGljeQCK/v//FAAAAEQAAABEAAAAAAAFAUAAAAABA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W9kACL+//8UAAAARAAAAEQAAAAAAAUBQAAAAAEAAAAEAAAAEP7//wgAAAAYAAAADwAAAHJldGVudGlvblBvbGljeQAEAAAAbmFtZQAAAAAAAAAAEP7//w8AAAByZXRlbnRpb25Qb2xpY3kAiv7//xQAAABEAAAARAAAAAAABQFAAAAAAQAAAAQAAAB4/v//CAAAABgAAAAOAAAAb3JnYW5pemF0aW9uSUQAAAQAAABuYW1lAAAAAAAAAAB4/v//DgAAAG9yZ2FuaXphdGlvbklEAADy/v//FAAAADgAAAA4AAAAAAAFATQAAAABAAAABAAAAOD+//8IAAAADAAAAAIAAABpZAAABAAAAG5hbWUAAAAAAAAAANT+//8CAAAAaWQAAEL///8UAAAAPAAAADwAAAAAAAUBOAAAAAEAAAAEAAAAMP///wgAAAAQAAAABAAAAG5hbWUAAAAABAAAAG5hbWUAAAAAAAAAACj///8EAAAAbmFtZQAAAACa////FAAAADwAAABEAAAAAAACAUgAAAABAAAABAAAAIj///8IAAAAEAAAAAUAAAB0YWJsZQAAAAQAAABuYW1lAAAAAAAAAAAIAAwACAAHAAgAAAAAAAABQAAAAAUAAAB0YWJsZQASABgAFAATABIADAAAAAgABAASAAAAFAAAAEQAAABIAAAAAAAFAUQAAAABAAAADAAAAAgADAAIAAQACAAAAAgAAAAQAAAABgAAAHJlc3VsdAAABAAAAG5hbWUAAAAAAAAAAAQABAAEAAAABgAAAHJlc3VsdAAAuAMAAEFSUk9XMQ==
pkg/tsdb/influxdb/flux/testdata/grouping.golden.txt
0 → 100644
View file @
07f81789
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {}
Name: system
Dimensions: 2 Fields by 3 Rows
+-----------------------------------------+-----------------------+
| Name: Time | Name: load1 |
| Labels: | Labels: host=hostname |
| Type: []time.Time | Type: []*float64 |
+-----------------------------------------+-----------------------+
| 2020-05-05 18:38:50 +0000 UTC | null |
| 2020-05-05 18:39:00 +0000 UTC | 3.56 |
| 2020-05-05 19:38:47.207881833 +0000 UTC | null |
+-----------------------------------------+-----------------------+
Frame[1] {}
Name: system
Dimensions: 2 Fields by 4 Rows
+-----------------------------------------+-----------------------+
| Name: Time | Name: load15 |
| Labels: | Labels: host=hostname |
| Type: []time.Time | Type: []*float64 |
+-----------------------------------------+-----------------------+
| 2020-05-05 18:38:50 +0000 UTC | null |
| 2020-05-05 18:39:00 +0000 UTC | 2.51 |
| 2020-05-05 19:38:40 +0000 UTC | 1.74 |
| 2020-05-05 19:38:47.207881833 +0000 UTC | null |
+-----------------------------------------+-----------------------+
Frame[2] {}
Name: system
Dimensions: 2 Fields by 10 Rows
+-----------------------------------------+-----------------------+
| Name: Time | Name: load5 |
| Labels: | Labels: host=hostname |
| Type: []time.Time | Type: []*float64 |
+-----------------------------------------+-----------------------+
| 2020-05-05 18:38:50 +0000 UTC | null |
| 2020-05-05 18:39:00 +0000 UTC | 3.14 |
| 2020-05-05 18:39:10 +0000 UTC | 3.04 |
| 2020-05-05 19:37:50 +0000 UTC | 1.8 |
| 2020-05-05 19:38:00 +0000 UTC | 1.76 |
| 2020-05-05 19:38:10 +0000 UTC | 1.75 |
| 2020-05-05 19:38:20 +0000 UTC | 1.71 |
| 2020-05-05 19:38:30 +0000 UTC | 1.77 |
| 2020-05-05 19:38:40 +0000 UTC | 1.71 |
| 2020-05-05 19:38:47.207881833 +0000 UTC | null |
+-----------------------------------------+-----------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////2AEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAHgAAAADAAAAUAAAACgAAAAEAAAAvP7//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADc/v//CAAAABAAAAAGAAAAc3lzdGVtAAAEAAAAbmFtZQAAAAAA////CAAAAAwAAAACAAAAe30AAAQAAABtZXRhAAAAAAIAAAC8AAAAGAAAAAAAEgAYABQAEwASAAwAAAAIAAQAEgAAABQAAABwAAAAcAAAAAAAAwFwAAAAAgAA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AAAAAAAFAAAAcmVmSWQAAADc/v//CAAAABAAAAAGAAAAc3lzdGVtAAAEAAAAbmFtZQAAAAAA////CAAAAAwAAAACAAAAe30AAAQAAABtZXRhAAAAAAIAAAC8AAAAGAAAAAAAEgAYABQAEwASAAwAAAAIAAQAEgAAABQAAABwAAAAcAAAAAAAAwFwAAAAAgAAACwAAAAEAAAAZP///wgAAAAQAAAABQAAAGxvYWQ1AAAABAAAAG5hbWUAAAAAiP///wgAAAAcAAAAEwAAAHsiaG9zdCI6Imhvc3RuYW1lIn0ABgAAAGxhYmVscwAAAAAAAIr///8AAAIABQAAAGxvYWQ1ABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAARAAAAEwAAAAAAAAKTAAAAAEAAAAMAAAACAAMAAgABAAIAAAACAAAABAAAAAEAAAAVGltZQAAAAAEAAAAbmFtZQAAAAAAAAAAAAAGAAgABgAGAAAAAAADAAQAAABUaW1lAAAAAAACAABBUlJPVzE=
pkg/tsdb/influxdb/flux/testdata/multiple.golden.txt
0 → 100644
View file @
07f81789
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {}
Name: test
Dimensions: 2 Fields by 2 Rows
+-----------------------------------------+-------------------------+
| Name: Time | Name: f |
| Labels: | Labels: a=1, b=adsfasdf |
| Type: []time.Time | Type: []*float64 |
+-----------------------------------------+-------------------------+
| 2020-02-18 10:34:08.135814545 +0000 UTC | 1.4 |
| 2020-02-18 22:08:44.850214724 +0000 UTC | 6.6 |
+-----------------------------------------+-------------------------+
Frame[1] {}
Name: test
Dimensions: 2 Fields by 2 Rows
+-----------------------------------------+-------------------------+
| Name: Time | Name: i |
| Labels: | Labels: a=1, b=adsfasdf |
| Type: []time.Time | Type: []*int64 |
+-----------------------------------------+-------------------------+
| 2020-02-18 10:34:08.135814545 +0000 UTC | 4 |
| 2020-02-18 22:08:44.850214724 +0000 UTC | -1 |
+-----------------------------------------+-------------------------+
Frame[2] {}
Name: test
Dimensions: 2 Fields by 2 Rows
+-----------------------------------------+-------------------------+
| Name: Time | Name: f |
| Labels: | Labels: a=0, b=adsfasdf |
| Type: []time.Time | Type: []*bool |
+-----------------------------------------+-------------------------+
| 2020-02-18 22:08:44.62797864 +0000 UTC | false |
| 2020-02-18 22:08:44.969100374 +0000 UTC | true |
+-----------------------------------------+-------------------------+
Frame[3] {}
Name: test
Dimensions: 2 Fields by 2 Rows
+-----------------------------------------+-------------------------+
| Name: _start | Name: i |
| Labels: | Labels: a=0, b=adsfasdf |
| Type: []time.Time | Type: []*uint64 |
+-----------------------------------------+-------------------------+
| 2020-02-17 22:19:49.747562847 +0000 UTC | 0 |
| 2020-02-17 22:19:49.747562847 +0000 UTC | 2 |
+-----------------------------------------+-------------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////2AEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAHgAAAADAAAAUAAAACgAAAAEAAAAvP7//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADc/v//CAAAABAAAAAEAAAAdGVzdAAAAAAEAAAAbmFtZQAAAAAA////CAAAAAwAAAACAAAAe30AAAQAAABtZXRhAAAAAAIAAAC8AAAAGAAAAAAAEgAYABQAEwASAAwAAAAIAAQAEgAAABQAAAB0AAAAdAAAAAAAAwF0AAAAAgAAACgAAAAEAAAAZP///wgAAAAMAAAAAQAAAGYAAAAEAAAAbmFtZQAAAACE////CAAAACQAAAAYAAAAeyJhIjoiMSIsImIiOiJhZHNmYXNkZiJ9AAAAAAYAAABsYWJlbHMAAAAAAACO////AAACAAEAAABmABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAARAAAAEwAAAAAAAAKTAAAAAEAAAAMAAAACAAMAAgABAAIAAAACAAAABAAAAAEAAAAVGltZQAAAAAEAAAAbmFtZQAAAAAAAAAAAAAGAAgABgAGAAAAAAADAAQAAABUaW1lAAAAAAAAAAD/////uAAAABQAAAAAAAAADAAWABQAEwAMAAQADAA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AAAABAAAAG5hbWUAAAAA+P7//wgAAAAMAAAAAgAAAHt9AAAEAAAAbWV0YQAAAAACAAAAxAAAABgAAAAAABIAGAAUABMAEgAMAAAACAAEABIAAAAUAAAAdAAAAHwAAAAAAAIBfAAAAAIAAAAoAAAABAAAAFz///8IAAAADAAAAAEAAABpAAAABAAAAG5hbWUAAAAAfP///wgAAAAkAAAAGAAAAHsiYSI6IjAiLCJiIjoiYWRzZmFzZGYifQAAAAAGAAAAbGFiZWxzAAAAAAAAAAAGAAgABAAGAAAAQAAAAAEAAABpABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAARAAAAEwAAAAAAAAKTAAAAAEAAAAMAAAACAAMAAgABAAIAAAACAAAABAAAAAGAAAAX3N0YXJ0AAAEAAAAbmFtZQAAAAAAAAAAAAAGAAgABgAGAAAAAAADAAYAAABfc3RhcnQAAAgCAABBUlJPVzE=
pkg/tsdb/influxdb/flux/testdata/non_standard_time_column.golden.txt
0 → 100644
View file @
07f81789
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {}
Name:
Dimensions: 2 Fields by 1 Rows
+-----------------------------------------+------------------+
| Name: _start_water | Name: |
| Labels: | Labels: st=1 |
| Type: []time.Time | Type: []*float64 |
+-----------------------------------------+------------------+
| 2020-06-28 17:50:13.012584046 +0000 UTC | 156.304 |
+-----------------------------------------+------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////0AEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAHQAAAADAAAATAAAACgAAAAEAAAA0P7//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADw/v//CAAAAAwAAAAAAAAAAAAAAAQAAABuYW1lAAAAABD///8IAAAADAAAAAIAAAB7fQAABAAAAG1ldGEAAAAAAgAAAKwAAAAYAAAAAAASABgAFAATABIADAAAAAgABAASAAAAFAAAAGQAAABkAAAAAAADAWQAAAACAAAAKAAAAAQAAAB0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AAAAEwAAABUAAAAAAAAClQAAAABAAAADAAAAAgADAAIAAQACAAAAAgAAAAYAAAADAAAAF9zdGFydF93YXRlcgAAAAAEAAAAbmFtZQAAAAAAAAAAAAAGAAgABgAGAAAAAAADAAwAAABfc3RhcnRfd2F0ZXIAAAAAAAIAAEFSUk9XMQ==
pkg/tsdb/influxdb/flux/testdata/simple.golden.txt
0 → 100644
View file @
07f81789
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {}
Name: test
Dimensions: 2 Fields by 2 Rows
+-----------------------------------------+-------------------------+
| Name: Time | Name: f |
| Labels: | Labels: a=1, b=adsfasdf |
| Type: []time.Time | Type: []*float64 |
+-----------------------------------------+-------------------------+
| 2020-02-18 10:34:08.135814545 +0000 UTC | 1.4 |
| 2020-02-18 22:08:44.850214724 +0000 UTC | 6.6 |
+-----------------------------------------+-------------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////2AEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAHgAAAADAAAAUAAAACgAAAAEAAAAvP7//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADc/v//CAAAABAAAAAEAAAAdGVzdAAAAAAEAAAAbmFtZQAAAAAA////CAAAAAwAAAACAAAAe30AAAQAAABtZXRhAAAAAAIAAAC8AAAAGAAAAAAAEgAYABQAEwASAAwAAAAIAAQAEgAAABQAAAB0AAAAdAAAAAAAAwF0AAAAAgAAACgAAAAEAAAAZP///wgAAAAMAAAAAQAAAGYAAAAEAAAAbmFtZQAAAACE////CAAAACQAAAAYAAAAeyJhIjoiMSIsImIiOiJhZHNmYXNkZiJ9AAAAAAYAAABsYWJlbHMAAAAAAACO////AAACAAEAAABmABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAARAAAAEwAAAAAAAAKTAAAAAEAAAAMAAAACAAMAAgABAAIAAAACAAAABAAAAAEAAAAVGltZQAAAAAEAAAAbmFtZQAAAAAAAAAAAAAGAAgABgAGAAAAAAADAAQAAABUaW1lAAAAAAAAAAD/////uAAAABQAAAAAAAAADAAWABQAEwAMAAQADAAAACAAAAAAAAAAFAAAAAAAAAMDAAoAGAAMAAgABAAKAAAAFAAAAFgAAAACAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAAAAAACAAAAAgAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAACRnfi9q3j0FUR3uluTnvQVZmZmZmZm9j9mZmZmZmYaQBAAAAAMABQAEgAMAAgABAAMAAAAEAAAACwAAAA4AAAAAAADAAEAAADoAQAAAAAAAMAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAACgAMAAAACAAEAAoAAAAIAAAAeAAAAAMAAABQAAAAKAAAAAQAAAC8/v//CAAAAAwAAAAAAAAAAAAAAAUAAAByZWZJZAAAANz+//8IAAAAEAAAAAQAAAB0ZXN0AAAAAAQAAABuYW1lAAAAAAD///8IAAAADAAAAAIAAAB7fQAABAAAAG1ldGEAAAAAAgAAALwAAAAYAAAAAAASABgAFAATABIADAAAAAgABAASAAAAFAAAAHQAAAB0AAAAAAADAXQAAAACAAAAKAAAAAQAAABk////CAAAAAwAAAABAAAAZgAAAAQAAABuYW1lAAAAAIT///8IAAAAJAAAABgAAAB7ImEiOiIxIiwiYiI6ImFkc2Zhc2RmIn0AAAAABgAAAGxhYmVscwAAAAAAAI7///8AAAIAAQAAAGYAEgAYABQAAAATAAwAAAAIAAQAEgAAABQAAABEAAAATAAAAAAAAApMAAAAAQAAAAwAAAAIAAwACAAEAAgAAAAIAAAAEAAAAAQAAABUaW1lAAAAAAQAAABuYW1lAAAAAAAAAAAAAAYACAAGAAYAAAAAAAMABAAAAFRpbWUAAAAAAAIAAEFSUk9XMQ==
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment