Export from a node Exporting (or querying ) data can be done by running a
pipeline that begins with the
export
source. When managing a pipeline through
the app or the API, all pipeline operators run within the node. When using the
CLI, at least the export
operator runs within the node.
eyJ2ZXJzaW9uIjoiMSIsImVuY29kaW5nIjoiYnN0cmluZyIsImNvbXByZXNzZWQiOnRydWUsImVuY29kZWQiOiJ4nO1d2VbjSrJ9r69g0Vx1MDAwZv1yrM6MnM+bmYqhXHUwMDAwXHUwMDE3Zu7biyUsYVx1MDAwNMYysszUXZ/S33D/6X5JR5rCkmzJslx1MDAxOcquvvisU1VYUmYqM/aOISOSf35ZWFiMXHUwMDFmO/7in1x1MDAwYov+Q8NtXHUwMDA1XuTeL/5hv7/zo25cdTAwMTC28Vx1MDAxMvR/7oa9qNG/8zKOO90///Y3t9NxkqecRnjz/KTf8m/8dtzFe/+OPy8s/LP/Z6qvyG/EbrvZ8vtcdTAwMGb0LyXdUcKGv91cdNv9rqkmklx1MDAxOcFcdTAwMTRcdTAwMWTcXHUwMDExdFewv9j38PKF2+r6yVx1MDAxNfvV4p1+PPNXq6T6dFx1MDAxOFx1MDAxZNTIelM9NUnS7UXQatXjx9bzi7mNy16UXHUwMDFhVDeOwmv/KPDiS9v70PeD57ohTkHyVFx1MDAxNPaal22/2808XHUwMDEzdtxGXHUwMDEwP/ZfkFxmvn2ehT9cdTAwMTeSb1x1MDAxZfAnLpOfXHUwMDFmn997qO/lsFx1MDAxNUa2779cXFx1MDAxMN0gqTc6d1x1MDAxYtdNXHUwMDFjQttcdTAwMWLcXHUwMDEzR26723EjXFyU5L77n2/FUqO59IPmZWyXPDWArt+fXFwqhTFAXHJcdTAwMTeDK7abzobXX+h/JFNcdTAwMWG5N/6GfaTda7XSs9L2fs5K5sK5vbA6LDNpucnITuw/JG+RWujN3Z4+ZnRFn6xdtPaku3lzb+Ti4L5cdTAwMWY//5WMs9fx3Ge5oYqAZJRQrlxyXGaut4L29fBYW2HjOlx1MDAxMbX+tz/+yJfxzDgz4lxyheJccsZcdTAwMTBCjV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UwMDE1n1x1MDAxOKGLzW3GXHJhU1jb482tuTwvglx1MDAxMjCO6X+kpoykYviZXHUwMDAzI95kYr/rOVx1MDAxMVTYeLAycqZcYny17Vt8UETmLIXxjttC+lhcdOBUclwiNVNcdTAwMTR5Qcj0oVx1MDAxMc9HOFx1MDAxOFvpwLVcdTAwMTZCoHerX2pOys+JyFxmaXxcckBqSLZcZoLapeNAUDpcdTAwMTRaq0SPXGZcblx1MDAxY2D2jGpcdTAwMWOXYVx1MDAwMlxiVyPD+m1sh1eeXHUwMDE08eVng4tup1OPUcJcdTAwMDazv3hcdTAwMTf490t5UOp/rJ/WnybLKX7fTPzx5cd/XHUwMDAwKCNcdTAwMWW8In0=Node Parquet or Feather Storage ❯ tenzir-node Managed Pipeline CLI Pipeline Node Parquet or Feather Storage export ❯ tenzir 'export | ...' export TCP
Let's bring back a sample of historical data we imported in the previous
section :
export
head
Think of export
being the entire data at a node. As this can grow quickly, you
may query only subsets of it, e.g., by filtering using
where
:
export
where orig_bytes < 1 KiB
Logically, this query would first export the entire historical data, and
then begin filtering the data. But since Tenzir does predicate pushdown , the
pipeline executor will analyze the query and push the expression in where
with
the predicate orig_bytes < 1 KiB
"down" to the export
operator. Tenzir's
storage engine then asks its catalog to identify the relevant subset of
partitions that the query should execute on. This dramatically improves the
query performance for selective workloads, such as point queries for single
values or specific time ranges.
To figure out the shape of the data to query, you can show available
schemas .