Skip to main content

orbitra lake

Commands provided by the orbitra-lake plugin.

Commands

orbitra lake create-or-update-table

Create a table, or reconcile an existing one to a schema (no-op if already matching). Creates the table when it does not exist. When it already exists, the schema is reconciled to match: columns are added, removed (with —allow-column-removal) or retyped as needed. If the existing table already matches the given schema (and the —include-hash setting), nothing is changed and the current schema is returned. Partition columns cannot change — attempting to alter them is an error. Options:
Examples:

orbitra lake download-bytes-from-raw

Download a raw blob’s bytes to a local file, unchanged. Options:
Examples:

orbitra lake get-data

Read rows from a lake table, optionally filtered by column values. Options:
Examples:

orbitra lake get-table-metadata

Show a table’s schema (columns, types, partitioning). Options:
Examples:

orbitra lake list-namespaces

List all namespaces in the lake. Options:
Examples:

orbitra lake list-tables

List all tables in a namespace. Options:
Examples:

orbitra lake overwrite-data

Overwrite a table’s data from a file, per-partition when the table is partitioned. The overwrite is per-partition when the table has partition columns: only the partitions present in the input file are replaced, and any other partitions are left untouched. Tables without partition columns are overwritten in full. Options:
Examples:

orbitra lake run-query

Run a SQL query against a namespace and return the result. Options:
Examples:

orbitra lake upload-bytes-to-raw

Upload a file’s bytes to raw blob storage, unchanged. Options:
Examples: