Documentation

sampledata.uint() function

Flux 0.128.0+

sampledata.uint returns a sample data set with unsigned integer values.

import "sampledata"

sampledata.uint(
  includeNull: false
)

Parameters

includeNull

Include null values in the returned dataset. Default is false.

Examples

Return sample data with unsigned integer values

Function
import "sampledata"

sampledata.uint()
Output tables
_timetag_value
2021-01-01T00:00:00Zt118446744073709551614
2021-01-01T00:00:10Zt110
2021-01-01T00:00:20Zt17
2021-01-01T00:00:30Zt117
2021-01-01T00:00:40Zt115
2021-01-01T00:00:50Zt14
_timetag_value
2021-01-01T00:00:00Zt219
2021-01-01T00:00:10Zt24
2021-01-01T00:00:20Zt218446744073709551613
2021-01-01T00:00:30Zt219
2021-01-01T00:00:40Zt213
2021-01-01T00:00:50Zt21

Return unsigned integer sample data with null values

Function
import "sampledata"

sampledata.uint(includeNull: true)
Output tables
_timetag_value
2021-01-01T00:00:00Zt118446744073709551614
2021-01-01T00:00:10Zt1
2021-01-01T00:00:20Zt17
2021-01-01T00:00:30Zt1
2021-01-01T00:00:40Zt1
2021-01-01T00:00:50Zt14
_timetag_value
2021-01-01T00:00:00Zt2
2021-01-01T00:00:10Zt24
2021-01-01T00:00:20Zt218446744073709551613
2021-01-01T00:00:30Zt219
2021-01-01T00:00:40Zt2
2021-01-01T00:00:50Zt21

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.