clickhouse

package
v0.194.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 0 Imported by: 0

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:

Name Type Description
url string ClickHouse HTTP/S URL. Default http://127.0.0.1:8123
query string ClickHouse query to execute.
limit string Query limit. Default is 100.
max_bytes string Query stepping. Default is 10000000.
format string Query output format. Default CSVWithNames

Example:

import "contrib/qxip/clickhouse"

clickhouse.query(
  url: "https://play@play.clickhouse.com",
  query: "SELECT version()"
)

Contact

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL