Skip to content
Raw Markdown

Tables commands

Read the warehouse tables people asked for that the context does not describe, the most asked first, and dismiss the ones the team will not add.

These requests are not issues, so cassis issues list does not print them: they are one list for the project, one line per table. It is the list the Issues page shows under Tables to add. Both commands also take the shared options: --project, --path, --api-key, --api-url, and --base-path.

tables list

Lists the tables, the most asked first.

cassis tables list

# Only the modeled tables suggested for one domain
cassis tables list --layer modeled --domain finance

# Next page
cassis tables list --offset 50

Arguments and options

NameTypeDefaultNotes
--layermodeled or rawBothOnly the modeled tables, or only the raw ones
--domaindomain pathAnyOnly the tables suggested for this domain or a domain under it
--searchtextNoneOnly the tables whose name contains this text
--limitnumber, 1 to 20050How many tables to print
--offsetnumber0How many tables to skip, to page through the list
--jsonflagOffPrints the page as JSON

Output

Each line
How many conversations asked for the table (x3), how many users, its layer (modeled, raw, or - when the project does not draw that line), its suggested domain, and its name as SCHEMA.TABLE.
Suggested domain
A suggestion, not a placement. It ends with ? when it rests on one conversation, and reads - when the conversations disagree.
Footer
N more (--offset M). when the list continues.
JSON
The page, with items and total, without null or default keys. Each item carries every candidate domain with its count, and the owners the table goes to.
Leaving the list
A table leaves the list once it is published in the context, or when the team dismisses it.

tables dismiss

Records that the team will not add the tables, or restores them with --undo. A dismissed table leaves the list for everyone on the project. A table you add needs no command: once the pull request that describes it is merged and published, it leaves the list on its own. Requires the editor or admin role.

# Dismiss several tables at once
cassis tables dismiss CORE.PAYMENTS RAW.SESSION

# Restore one
cassis tables dismiss RAW.SESSION --undo

Arguments and options

NameTypeDefaultNotes
tableSCHEMA.TABLE, one or moreRequiredAs tables list prints it
--undoflagOffTakes the tables back into the list

Output

Each table is handled in turn, one line per table: ✓ SCHEMA.TABLE is dismissed., or with --undo, that it is back in the list. A table that is not in the list is reported and the others still go through; the command then exits 1.