Skip to content

throw exception while non-parametric functions having parameters#48115

Merged
Avogar merged 7 commits intoClickHouse:masterfrom
save-my-heart:throw_non_parametric_function
Apr 4, 2023
Merged

throw exception while non-parametric functions having parameters#48115
Avogar merged 7 commits intoClickHouse:masterfrom
save-my-heart:throw_non_parametric_function

Conversation

@save-my-heart
Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Now non-parametric functions only validate 'arguments', any 'parameters' will be ignored, these may cause unexpected behavior in some cases.
See: #48089

@Avogar Avogar self-assigned this Mar 28, 2023
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 28, 2023
@ucasfl ucasfl added the can be tested Allows running workflows for external contributors label Mar 29, 2023
@Avogar Avogar merged commit 5f930ae into ClickHouse:master Apr 4, 2023
@save-my-heart save-my-heart deleted the throw_non_parametric_function branch April 4, 2023 10:58
}
}

/// Normal functions are not parametric for now.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This if is not correct because executable UDF can have parameters. See #38142, #37929 and #30957.

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

Labels

can be tested Allows running workflows for external contributors pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants