Extensions in druid sql
- Dominant language
- Java
- Stars
- 14.1k
- Forks
- 3.8k
- Avg merge
- 2d 58m
- Merged PRs (30d)
- 233
Description
Hi this is a code i'm using to interact with druid, i need to add "druid-stats" to the api so that i can use "STDDEV" function. how do i include it in this code? pls help
import druidapi
import os
druid_host=f"""http://localhost:8888"""
print(f"Opening a connection to {druid_host}.")
druid = druidapi.jupyter_client(druid_host)
display = druid.display
sql_client = druid.sql
status_client = druid.status
display.sql("SELECT STTDEV(temperature) FROM thermal_log")
Contributor guide
Research direction
Start with the druidapi.jupyter_client setup and the druid.sql client used by display.sql. Check how the druid-stats extension is made available to the SQL client, then verify the example query using STDDEV against thermal_log. Done means the shown client can execute that query successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sql
- Domain
- api, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100