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 collection create

Create a new collection

tdk collection create \
--proj quickstart \
--format table \
--name sales_data \
--description Ingests raw sales data from Postgres \
--group sources \
--storage-path /prod \
--conn-file conn-postgres.yaml \
--profile production
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
-o, --formattable | json | yamlOptionalOutput format. 'json' and 'yaml' give a listing as an array and table data as one object per row.
--name, -nstringOptionalName of the collection to create. Defaults to <function pinned.<locals>.default at 0x105b96700>.
--descriptionstringOptionalDescription of the collection.
--groupstringOptionalName of the group to assign. Defaults to 'default' when omitted. Use 'tdk group list' to see available groups.
--storage-pathstringOptionalLogical storage prefix for the collection's artifacts. Defaults to '/'. The physical backend is selected by the server's configured mounts.
--conn-filestringOptionalConnection YAML document ('-' to read from stdin). Required for a source/destination collection — it is created WITH its connection. The connection is validated and dehydrated client-side; secret values are stripped into the secret payload.
--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.