Documentation
¶
Index ¶
Constants ¶
View Source
const CapStaleness = "ch_staleness"
CapStaleness is the server capability key for ORDER BY ... WITH FILL STALENESS, which clickhouse added in 24.11. Below that the clause is a parse error, so it must never be emitted; callers fall back to arrayJoin range expansion instead.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionInfo ¶
func GetVersionInfo ¶
func (VersionInfo) HasCapability ¶
func (v VersionInfo) HasCapability(name string) bool
HasCapability reports a server capability, as opposed to IsVersionSupported, which reports whether a qryn migration was applied before a data range. A capability is not scoped to a time range: it is a property of the running server, present or absent, so it carries no timestamp comparison.
func (VersionInfo) IsVersionSupported ¶
func (v VersionInfo) IsVersionSupported(ver string, fromNS int64, toNS int64) bool
Click to show internal directories.
Click to hide internal directories.