Skip to content
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

Error out when UDF / UDAF already exists when create #868

Open
chenziliang opened this issue Nov 28, 2024 · 0 comments
Open

Error out when UDF / UDAF already exists when create #868

chenziliang opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working javascript-udf

Comments

@chenziliang
Copy link
Collaborator

Describe what's wrong

When a UDA/UDF already exists, the following DDL doesn't error out but does a blind update which is not semantic right.

CREATE AGGREGATE FUNCTION time_weighted_median(value float64, timestamp uint32, window_end uint32)
RETURNS float64 LANGUAGE JAVASCRIPT AS $$
...
$$

How to reproduce

Error message and/or stacktrace

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working javascript-udf
Projects
None yet
Development

No branches or pull requests

2 participants