Skip to content

Conversation

@lizhou1111
Copy link
Contributor

@lizhou1111 lizhou1111 commented Jan 11, 2024

When you create a UDA funtion like below:

CREATE OR REPLACE AGGREGATE FUNCTION group_distinct(value string)
RETURNS array(string)
LANGUAGE JAVASCRIPT AS $$
....
$$;

Proton won't recognize is as aggregation function, the reason is in this code .Because the _distinct is key word suffix.
The other key word suffixes are below:

@lizhou1111 lizhou1111 marked this pull request as ready for review January 11, 2024 05:31
@lizhou1111 lizhou1111 self-assigned this Jan 11, 2024
@lizhou1111 lizhou1111 force-pushed the bugfix/issue-479-enhance-UDF-name-validation branch from 0a4b191 to 993775a Compare January 17, 2024 07:21
@yl-lisen yl-lisen merged commit 3cdf22f into develop Jan 17, 2024
@yl-lisen yl-lisen deleted the bugfix/issue-479-enhance-UDF-name-validation branch January 17, 2024 08:42
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.

Unknown function exception for a UDA

3 participants