Skip to content

Helper function handling: Fix detection of functions without arguments #695

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

Merged
merged 4 commits into from
Mar 28, 2025

Conversation

lfittl
Copy link
Member

@lfittl lfittl commented Mar 28, 2025

This accidentally broke in a recent refactoring, and caused helpers with no arguments (e.g. "get_column_stats") to not be detected correctly.

In passing refactor definitions of "get_column_stats" and "get_relation_stats_ext" helpers to be in SQL files.

This accidentally broke in a recent refactoring, and caused helpers
with no arguments (e.g. "get_column_stats") to not be detected correctly.

In passing refactor definitions of "get_column_stats" and
"get_relation_stats_ext" helpers to be in SQL files.
Due to way this function is created, we don't have DROP privileges but
are allowed to CREATE OR REPLACE.
@lfittl lfittl merged commit ce00a7e into main Mar 28, 2025
3 checks passed
@lfittl lfittl deleted the fix-helper-function-with-no-args branch March 28, 2025 22:49
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