Skip to content

Extensions in druid sql #15725

@Hari-Durai-Baskar

Description

@Hari-Durai-Baskar

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")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions