Skip to content

[SPARK-57743][SQL] Addition of a partitions function in datalake V1 tables#56834

Open
0xAJX wants to merge 7 commits into
apache:masterfrom
0xAJX:feature/show_partitions
Open

[SPARK-57743][SQL] Addition of a partitions function in datalake V1 tables#56834
0xAJX wants to merge 7 commits into
apache:masterfrom
0xAJX:feature/show_partitions

Conversation

@0xAJX

@0xAJX 0xAJX commented Jun 27, 2026

Copy link
Copy Markdown

What changes were proposed in this pull request?

The addition of a partitions function which returns the output of SHOW PARTITIONS but can be used within a larger query.

Why are the changes needed?

The changes solves the issues raised here: #56833

Does this PR introduce any user-facing change?

Yes, this PR introduces a new function "partitions", which can be used as any function in SQL query. Its a proxy for running SHOW PARTITIONS.

How was this patch tested?

Added a test to check the partitions function.

Was this patch authored or co-authored using generative AI tooling?

Yes, for help with understanding how to make the changed I used CHATGPT 5.5.

@0xAJX 0xAJX changed the title Addition of a partitions function in datalake V1 tables [SPARK-57743][SQL] Addition of a partitions function in datalake V1 tables Jun 28, 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