-
Notifications
You must be signed in to change notification settings - Fork 328
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
Failed to execute system_status
script example via sql
#2531
Comments
You have to ensure the |
I do have this table, it works via http |
Got it, you mean execute it by If you want to call the python UDF in sql ,it must follow some rules. |
Ok, let's close it. |
Please create an issue in https://github.com/GreptimeTeam/docs I will update the user guide to describe the rules. |
What type of bug is this?
Unexpected error
What subsystems are affected?
Datanode
What happened?
Follow the doc, upload the
system_status.py
.Execute sql
select system_status();
However, it works via http (
curl -XPOST \ "http://localhost:4000/v1/run-script?name=system_status&db=public"
)What operating system did you use?
Ubuntu 23.04
Relevant log output and stack trace
How can we reproduce the bug?
Follows the doc, updates the
system_status.py
.Executes sql
select system_status();
Follows the doc, updates thesystem_status.py
.Executes sql
select system_status();
Follows the doc, updates thesystem_status.py
.Executes sql
select system_status();
The text was updated successfully, but these errors were encountered: