clickhouseutil

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIntervalToMillis

func ParseIntervalToMillis(s string) (int64, bool)

ParseIntervalToMillis parses a ClickHouse INTERVAL string into milliseconds. ClickHouse currently returns INTERVALs as strings in the format "1 Month", "2 Minutes", etc. This function follows our current policy of treating months as 30 days when converting to milliseconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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