-
Notifications
You must be signed in to change notification settings - Fork 590
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
feat(test): enable udf in nexmark q14 #14975
Conversation
Signed-off-by: Runji Wang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let me add it to the daily test too
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
f4cb852
to
2088cd5
Compare
Signed-off-by: Runji Wang <[email protected]>
2088cd5
to
e134da7
Compare
Signed-off-by: Runji Wang <[email protected]>
@@ -1,6 +1,11 @@ | |||
use arrow_udf::function; | |||
use rust_decimal::Decimal; | |||
|
|||
#[function("count_char(varchar, varchar) -> int")] | |||
fn count_char(s: &str, c: &str) -> i32 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I just added it here in case of future use.
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
667f68e
to
0eec285
Compare
Signed-off-by: Runji Wang <[email protected]>
Signed-off-by: Runji Wang <[email protected]>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
resolve #14857 and fix #14991
Add
count_char
back to nexmark q14 using JavaScript UDF.Checklist
./risedev check
(or alias,./risedev c
)Documentation