Get Involved
tailpipe compact
Compact multiple Parquet files per day to one per day.
Usage
Arguments
Flag | Description |
---|---|
--help | Help for compact |
--output | One of: json, text (default text) |
Global Flags
Flag | Description |
---|---|
--config-path | Sets the search path for configuration files. This argument accepts a colon-separated list of directories. All configuration files (*.tpc) will be loaded from each path, with decreasing precedence. The default is .:$TAILPIPE_INSTALL_DIR/config (.:~/.tailpipe/config). This allows you to manage your workspaces and connections centrally in the ~/.tailpipe/config directory, but override them in the working directory / mod location if desired. |
--workspace | Sets the Tailpipe workspace profile. If not specified, the default workspace will be used if it exists. See workspace for details. |
Examples
Compact everything:
Compact a table:
Compact a table's newest 7 days:
Compact a table between two dates:
Compact a partition:
Compact specific days for partition: