Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Liquid clustering support for Databricks tables

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python, sqlalchemy
Domain
databases

Research direction

Start by reviewing the Alembic and SQLAlchemy migration flow described in the issue, including generated migration files and the use of op.execute for Databricks DDL. Determine how native CLUSTER BY and liquid clustering should be represented and how autogenerate would emit them; done means the recurring manual ALTER TABLE step is covered by an agreed implementation and tests.

Written by the indexing model from the issue text.

Description

We recently implemented Alembic for schema migration management on Databricks and came across a major concern-

There is no native CLUSTER BY support

Alembic and SQLAlchemy have no concept of Databricks-specific DDL like CLUSTER BY
Every migration file generated by autogenerate needs to be manually edited to add op.execute("ALTER TABLE ... CLUSTER BY (...)")
This is a recurring manual step that is easy to forget and can't be automated
Is there a roadmap for native CLUSTER BY and liquid clustering support and if not, can this be considered to be implemented?

Dominant language
Python
Stars
24
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from databricks/databricks-sqlalchemy

All issues in databricks/databricks-sqlalchemy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.