Skip to content

preview-datasets v1#6033

Open
tanishgupta-db wants to merge 1 commit into
databricks:mainfrom
tanishgupta-db:preview-datasets
Open

preview-datasets v1#6033
tanishgupta-db wants to merge 1 commit 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 experimental preview-datasets <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 user choice (mimics UI CUJ).

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. experimental until command group is decided.

Tests

  • Unit tests and Acceptance tests

@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: f4c46a9a2b1e2e2b0f32890294a048ac06753534

Checks will be approved automatically on success.

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

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @simonfaltum -- recent work in cmd/experimental/

Eligible reviewers: @andrewnester, @anton-107, @denik, @janniklasrose, @lennartkats-db, @pietern, @renaudhartert-db, @shreyas-goenka

Suggestions based on git history. See OWNERS for ownership rules.

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