Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Jan 24, 2025

This PR moves the logic for validateStoredProcedure analyzer rule into the planbuilder, allowing for proper error messages.

Related: dolthub/dolt#8762

Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

LGTM, shifting validation into binder is always good

"and will be added in a future release")
transform.Inspect(node, func(n sql.Node) bool {
switch n.(type) {
case *plan.CreateTable:
Copy link
Contributor

Choose a reason for hiding this comment

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

something we could do at some point is aggregate some of these into flags, like for the DDL group

@jycor jycor merged commit 8a1af52 into main Jan 24, 2025
8 checks passed
@jycor jycor deleted the james/proc branch January 24, 2025 21:39
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.

3 participants