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.



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!

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.