experimental.preview() function

experimental.preview() is subject to change at any time. By using this function, you accept the risks of experimental functions.

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.



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


Maximum number of tables to return. Default is 5.


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


Preview data output

import "experimental"
import "sampledata"
    |> 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.