Skip to content

Conversation

@jaceklaskowski
Copy link
Contributor

What changes were proposed in this pull request?

Added two missing error classes

Why are the changes needed?

MATERIALIZED_VIEW_WITH_MULTIPLE_QUERIES and PIPELINE_GRAPH_NOT_TOPOLOGICALLY_SORTED error classes were not defined yet used in SDP.

Does this PR introduce any user-facing change?

Sort of. It fixes what should be reported properly with the error classes.

How was this patch tested?

Built locally. Awaiting the official build to pass

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

No

@github-actions github-actions bot added the SQL label Nov 23, 2025
@jaceklaskowski
Copy link
Contributor Author

@sryza Have a look and LMK if new tests should be added. Happy to learn how to add them if needed. Please guide 🙏

"message" : [
"Invalid destination <tableName> with multiple flows: <flows>."
],
"sqlState" : "42000"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we provide a more specific SQL state?

"message" : [
"Pipeline graph must be topologically sorted (flow <flowName> with unvisited input <inputName>)"
],
"sqlState" : "42000"
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants