Documentation
¶
Overview ¶
Assertions package provides a set of runtime assertions for extra safety. They are disabled by default and are usually enabled in tests only due to performance impact.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Enabled = false
)
Functions ¶
func CheckColumnDuplicates ¶
func CheckColumnDuplicates(record arrow.RecordBatch)
CheckColumnDuplicates checks for duplicate full column names in the record.
func CheckLabelValuesDuplicates ¶
func CheckLabelValuesDuplicates(record arrow.RecordBatch)
CheckLabelValuesDuplicates checks duplicate short column names in the record and that only one value is present. Short column names are used as labels in the LogQL result. Duplicate short names will collapse into a single label, therefore only one value is allowed. It is valid to have multiple columns with the same short name, but different full names. This happens after Compat.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.