Documentation

experimental.preview() function

experimental.preview() is subject to change at any time.

experimental.preview() limits the number of rows and tables in the stream.

Included group keys are not deterministic and depends on the order that the engine sends them.

Function type signature
(<-tables: stream[A], ?nrows: int, ?ntables: int) => stream[A] where A: Record
For more information, see Function type signatures.

Parameters

nrows

Maximum number of rows per table to return. Default is 5.

ntables

Maximum number of tables to return. Default is 5.

tables

Input data. Default is piped-forward data (<-).

Examples

Preview data output

import "experimental"
import "sampledata"

sampledata.int()
    |> experimental.preview()

Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.