Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.3.0

tdk table download

Download the table as a parquet file

tdk table download \
--proj quickstart \
--file country.parquet \
--name country \
--coll <function pinned.<locals>.default at 0x10b6a2160> \
--format table \
--at 2024-05-20T10:00:00Z \
--at-trx trx-8c1d40 \
--profile production
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
--filestringRequiredFile in which the table will be stored. Can be an absolute or a relative path. Any directory that appears must already exist (it will not be created as part of the download).
--name, -nstringRequiredName of the table.
--coll, -cstringOptionalName of the collection to which the table belongs. Defaults to <function pinned.<locals>.default at 0x10b6a2160>.
-o, --formattable | json | yamlOptionalOutput format. 'json' and 'yaml' give a listing as an array and table data as one object per row.
--atstringOptionalIf provided, the table values at the given time will be shown. Must be either a valid timestamp in the form of a unix timestamp (milliseconds since epoch without a dot, e.g. '1750074554472') or a valid date-time format. The valid formats are 'YYYY-MM-DD', 'YYYY-MM-DDTHH', 'YYYY-MM-DDTHH:MM', 'YYYY-MM-DDTHH:MM:SS', and 'YYYY-MM-DDTHH:MM:SS.sss'. A 'Z' character can be added at the end to indicate UTC time (e.g., '2023-10-01T12Z' or '2023-10-01T12:00:00.000Z') or it can be omitted to indicate local time (e.g., '2023-10-01T12' or '2023-10-01T12:00:00.000'). NOTE: This argument is mutually exclusive with arguments: [at-trx, version].
--at-trxstringOptionalID of a transaction. If provided, the table values at the end of the given transaction will be shown. NOTE: This argument is mutually exclusive with arguments: [at, version].
--profilestringOptionalProfile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile.