Versions in this module Expand all Collapse all v2 v2.0.0 Nov 23, 2026 Changes in this version + const DefaultMaxDownloadThreads + const KernelMaxChunksInMemoryConfKey + const MetricViewMetadataConfKey + type ArrowConfig struct + UseArrowBatches bool + UseArrowNativeComplexTypes bool + UseArrowNativeDecimal bool + UseArrowNativeIntervalTypes bool + UseArrowNativeTimestamp bool + func (arrowConfig ArrowConfig) DeepCopy() ArrowConfig + func (ucfg ArrowConfig) WithDefaults() ArrowConfig + type CloudFetchConfig struct + CloudFetchSpeedThresholdMbps float64 + HTTPClient *http.Client + MaxDownloadThreads int + MaxDownloadThreadsSet bool + MaxFilesInMemory int + MinTimeToExpiry time.Duration + UseCloudFetch bool + func (cfg CloudFetchConfig) DeepCopy() CloudFetchConfig + func (cfg CloudFetchConfig) WithDefaults() CloudFetchConfig + type Config struct + CanUseMultipleCatalogs bool + ClientQueryTimeout *time.Duration + ClientTimeout time.Duration + DriverName string + DriverVersion string + KernelExperimental *KernelExperimentalConfig + PingTimeout time.Duration + PollInterval time.Duration + TLSConfig *tls.Config + ThriftDebugClientProtocol bool + ThriftProtocol string + ThriftProtocolVersion cli_service.TProtocolVersion + ThriftTransport string + func WithDefaults() *Config + func (c *Config) DeepCopy() *Config + func (c *Config) EffectiveSessionParams() map[string]string + func (c *Config) ToEndpointURL() (string, error) + type ConfigValue struct + func NewConfigValue[T any](value T) ConfigValue[T] + func ParseBoolConfigValue(params map[string]string, key string) ConfigValue[bool] + func ParseIntConfigValue(params map[string]string, key string) ConfigValue[int] + func ParseStringConfigValue(params map[string]string, key string) ConfigValue[string] + func (cv ConfigValue[T]) Get() (T, bool) + func (cv ConfigValue[T]) IsSet() bool + func (cv ConfigValue[T]) Resolve(ctx context.Context, serverResolver ServerResolver[T], defaultValue T) T + func (cv ConfigValue[T]) ResolveWithContext(ctx context.Context, host string, httpClient *http.Client, ...) T + type KernelExperimentalConfig struct + DecimalAsFloat bool + EnableGeoSpatialSupport *bool + MaxChunksInMemory int + MaxConnections *int + ProxyBypassHosts string + ProxyPassword string + ProxyURL string + ProxyUsername string + RetryOverallTimeout time.Duration + TLSClientCertConfigured bool + TLSClientCertPEM []byte + TLSClientKeyPEM []byte + TLSSkipHostnameVerify bool + TLSTrustedCertsPEM []byte + TokenCacheEnabled bool + func (k *KernelExperimentalConfig) DeepCopy() *KernelExperimentalConfig + type ServerResolver interface + Resolve func(ctx context.Context, host string, httpClient *http.Client) (T, error) + type UserConfig struct + AccessToken string + Authenticator auth.Authenticator + Catalog string + EnableGeoSpatialSupportDSN *bool + EnableMetricViewMetadata bool + EnableTelemetry ConfigValue[bool] + HTTPPath string + Host string + Location *time.Location + MaxRows int + Port int + Protocol string + QueryTimeout time.Duration + RetryMax int + RetryWaitMax time.Duration + RetryWaitMin time.Duration + Schema string + SessionParams map[string]string + TelemetryBatchSize int + TelemetryFlushInterval time.Duration + TokenCacheEnabledDSN bool + Transport http.RoundTripper + UseArrowNativeDecimalDSN bool + UseKernel bool + UseLz4Compression bool + UserAgentEntry string + WarehouseID string + func ParseDSN(dsn string) (UserConfig, error) + func (ucfg UserConfig) DeepCopy() UserConfig + func (ucfg UserConfig) WithDefaults() UserConfig Other modules containing this package github.com/databricks/databricks-sql-go