Skip to content

[SPARK-51780][SQL] Implement Describe Procedure #50569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

szehon-ho
Copy link
Contributor

@szehon-ho szehon-ho commented Apr 11, 2025

What changes were proposed in this pull request?

Implement 'describe procedure'

Why are the changes needed?

User need to understand a procedure before calling it.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Add test in ProcedureSuite

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

No

@szehon-ho szehon-ho force-pushed the SPARK-51780 branch 2 times, most recently from 0e77352 to 17503ed Compare April 11, 2025 20:18
@szehon-ho
Copy link
Contributor Author

@aokolnychyi @cloud-fan when you have a chance, thanks!

@@ -313,6 +313,7 @@ statement
| SHOW CURRENT namespace #showCurrentNamespace
| SHOW CATALOGS (LIKE? pattern=stringLit)? #showCatalogs
| (DESC | DESCRIBE) FUNCTION EXTENDED? describeFuncName #describeFunction
| (DESC | DESCRIBE) PROCEDURE identifierReference #describeProcedure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do we plan to support the EXTENDED syntax?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if needed we can extend the SQL syntax later.

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 5308151 Apr 14, 2025
@szehon-ho
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants