//go:build noclickhouse

package infra

import (
	"database/sql"
	"fmt"
)

// ClickHouseOpen is a stub when built with the noclickhouse tag.
func ClickHouseOpen(host string, port int, user, password, database string) (*sql.DB, error) {
	return nil, fmt.Errorf("clickhouse_open: clickhouse support not compiled (built with noclickhouse tag)")
}
