Skip to content

Backported : Revert "Use sys.all_objects for accurate function and procedure filtering" - #2767

Merged
Muskan Gupta (muskan124947) merged 1 commit into
release/13.2from
hotfix-release-13.2-pr2751
Sep 11, 2025
Merged

Backported : Revert "Use sys.all_objects for accurate function and procedure filtering"#2767
Muskan Gupta (muskan124947) merged 1 commit into
release/13.2from
hotfix-release-13.2-pr2751

Conversation

@muskan124947

Copy link
Copy Markdown
Contributor

This PR backports the fix from #2751 into the release/13.2 branch.

Reverts #2705

This change is being reverted due to differences in behavior observed between:

- getProcedures() vs getProcedureColumns()
- getFunctions() vs getFunctionColumns()

Specifically:

  • getProcedures() and getFunctions() return procedure/function names without numbered suffixes, since sys.all_objects does not expose numbered procedures.

  • In contrast, getProcedureColumns() and getFunctionColumns() query sp_sproc_columns, which does return numbered procedures, leading to inconsistencies across these APIs.

There was an effort done to make getProcedureColumns() and getFunctionColumns() work in #2743.
This PR addressed these differences, but SQL Server still supports numbered procedures, and users can benefit from grouped procedures (see here : sp_proc_columns)

To maintain compatibility and avoid unexpected discrepancies, this PR reverts #2705 and restores the original behavior.

@muskan124947
Muskan Gupta (muskan124947) merged commit a794d0b into release/13.2 Sep 11, 2025
4 checks passed
@David-Engel David Engel (David-Engel) added this to the 13.2.1 milestone Jan 30, 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.

4 participants