Skip to content

Add Pipelines Show Command#6033

Open
tanishgupta-db wants to merge 2 commits into
databricks:mainfrom
tanishgupta-db:preview-datasets
Open

Add Pipelines Show Command#6033
tanishgupta-db wants to merge 2 commits into
databricks:mainfrom
tanishgupta-db:preview-datasets

Conversation

@tanishgupta-db

@tanishgupta-db tanishgupta-db commented Jul 22, 2026

Copy link
Copy Markdown

Changes

Adds databricks pipelines show <catalog.schema.table> command: shows a table's columns and sample data (or --output json). Runs SELECT * FROM <table> LIMIT n on a SQL warehouse. The warehouse is taken from --warehouse-id, DATABRICKS_WAREHOUSE_ID (env set), the workspace default, or picked.

Also adds tableprint lib for detecting terminal width and rendering a formatted table

Why

Users want a quick look at the data and schema of a dataset quickly without leaving the terminal. Mirrors the Catalog Explorer "Sample Data" experience for the CLI. Lives under the pipelines command group.

Tests

  • Unit tests and Acceptance tests

E2E testing:

Screen.Recording.2026-07-23.at.11.05.36.PM.mov

@tanishgupta-db
tanishgupta-db marked this pull request as ready for review July 23, 2026 04:47
@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Approval status: pending

/acceptance/pipelines/ - needs approval

8 files changed
Suggested: @kanterov
Also eligible: @jefferycheng1, @lennartkats-db

/cmd/pipelines/ - needs approval

7 files changed
Suggested: @kanterov
Also eligible: @jefferycheng1, @lennartkats-db

General files (require maintainer)

4 files changed
Based on git history:

  • @pietern -- recent work in cmd/pipelines/, ./

Any maintainer (@andrewnester, @anton-107, @denik, @pietern, @shreyas-goenka, @simonfaltum, @renaudhartert-db, @janniklasrose, @lennartkats-db) can approve all areas.
See OWNERS for ownership rules.

@github-actions

Copy link
Copy Markdown
Contributor

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 6033
  • Commit SHA: 58be02eef79eebb18864c18d2433fac2c20e5afc

Checks will be approved automatically on success.

@tanishgupta-db tanishgupta-db changed the title preview-datasets v1 Add Pipelines Show Command Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant