0xAJX opened a new pull request, #56834: URL: https://github.com/apache/spark/pull/56834
### 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: https://github.com/apache/spark/issues/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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
