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

percentile_cont 's second parameter's data type is wrong #54562

Open
style1002 opened this issue Dec 31, 2024 · 0 comments
Open

percentile_cont 's second parameter's data type is wrong #54562

style1002 opened this issue Dec 31, 2024 · 0 comments
Labels
type/bug Something isn't working

Comments

@style1002
Copy link

Steps to reproduce the behavior (Required)

curl --location 'http://127.0.0.1:8061/api/v1/catalogs/default_catalog/databases/database_name/sql'
--header 'Content-Type: application/json'
--header 'Authorization: Basic cm9vdDpHYWxheHkyMDE5JiooKQ=='
--data '{
"query":"SELECT PERCENTILE_CONT(flags, 0.5) FROM session_record",
"sessionVariables":{
"sql_mode":"MODE_DOUBLE_LITERAL"
}
}'

Expected behavior (Required)

可以正确运行

Real behavior (Required)

{
"status": "FAILED",
"code": "1",
"msg": "Getting analyzing error. Detail message: percentile_cont 's second parameter's data type is wrong .",
"message": "Getting analyzing error. Detail message: percentile_cont 's second parameter's data type is wrong ."
}

StarRocks version (Required)

version:3.3.7-00177de

@style1002 style1002 added the type/bug Something isn't working label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant