package
0.195.1
Repository: https://github.com/influxcommunity/flux.git
Documentation: pkg.go.dev

# README

ClickHouse Flux Package

Use this package to interact with ClickHouse HTTP APIs.

clickhouse.query

clickhouse.query executes a POST query against a ClickHouse HTTP Interface.

Parameters:

NameTypeDescription
urlstringClickHouse HTTP/S URL. Default http://127.0.0.1:8123
querystringClickHouse query to execute.
limitstringQuery limit. Default is 100.
max_bytesstringQuery stepping. Default is 10000000.
formatstringQuery output format. Default CSVWithNames

Example:

import "contrib/qxip/clickhouse"

clickhouse.query(
  url: "https://[email protected]",
  query: "SELECT version()"
)

Contact