Help us shape the future of Go! Take the 2026 Go Developer Survey

clickhouse

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package clickhouse extracts schema metadata from a ClickHouse service.

ClickHouse, like MySQL, has a single namespace level (its "database"). We map each ClickHouse database to an OpenMetadata DatabaseSchema under a single logical OpenMetadata Database named "default", matching the Python ClickHouse connector.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(src config.Source) (source.Source, error)

New builds a ClickHouse Source.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source extracts metadata from a ClickHouse instance.

func (*Source) Close

func (s *Source) Close() error

Close releases the connection pool.

func (*Source) Extract

func (s *Source) Extract(ctx context.Context) (*model.Service, error)

Extract pulls ClickHouse databases (as schemas), tables and columns.

func (*Source) Prepare

func (s *Source) Prepare(ctx context.Context) error

Prepare opens the connection pool and pings it.

Jump to

Keyboard shortcuts

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