跳到主要内容
跳到主要内容

estimateCompressionRatio

estimateCompressionRatio

Estimates the compression ratio of a given column without compressing it.

Syntax

Arguments

  • column - Column of any type

Parameters

Both parameters are optional.

Returned values

  • Returns an estimate compression ratio for the given column.

Type: Float64.

Examples

Input table:

Query:

Result:

备注

The result above will differ based on the default compression codec of the server. See Column Compression Codecs.

Query:

Result: