|
| void | SetUp () override |
| |
| Result< Metrics > | GetMetrics (std::shared_ptr< Schema > schema, std::shared_ptr<::arrow::Array > records) override |
| | Get metrics for the given schema and records.
|
| |
| Result< Metrics > | GetMetrics (std::shared_ptr< Schema > schema, std::shared_ptr< MetricsConfig > config, std::shared_ptr<::arrow::Array > records) override |
| | Get metrics with custom MetricsConfig.
|
| |
| std::string | CreateOutputFile () override |
| | Create an output file for testing.
|
| |
| Result< int > | GetSplitCount () override |
| | Get the number of row groups/splits in a file.
|
| |
|
Result< Metrics > | GetMetricsWithFieldMetrics (std::shared_ptr< Schema > schema, std::shared_ptr< MetricsConfig > config, std::shared_ptr<::arrow::Array > records, const std::unordered_map< int32_t, FieldMetrics > &field_metrics) |
| |
| bool | SupportsSmallRowGroups () const override |
| | Whether the format supports small row groups for testing.
|
| |
| bool | ReportsNanCounts () const override |
| | Whether the format reports NaN counts for floating-point fields.
|
| |
|
void | AssertCounts (int field_id, std::optional< int64_t > expected_value_count, std::optional< int64_t > expected_null_count, const Metrics &metrics) |
| |
|
void | AssertCounts (int field_id, std::optional< int64_t > expected_value_count, std::optional< int64_t > expected_null_count, std::optional< int64_t > expected_nan_count, const Metrics &metrics) |
| |
|
void | AssertColumnSizeFields (std::vector< int32_t > expected_field_ids, const Metrics &metrics) |
| |
|
template<typename T > |
| void | AssertBounds (int field_id, std::shared_ptr< PrimitiveType > type, std::optional< T > expected_lower, std::optional< T > expected_upper, const Metrics &metrics) |
| |
|
std::shared_ptr<::arrow::Array > | CreateRecordArrays (const std::shared_ptr<::arrow::Schema > &arrow_schema, const std::string &json_data) |
| |
|
void | MetricsForRepeatedValues () |
| |
|
void | MetricsForTopLevelFields () |
| |
|
void | MetricsForDecimals () |
| |
|
void | MetricsForNestedStructFields () |
| |
|
void | MetricsModeForNestedStructFields () |
| |
|
void | MetricsForListAndMapElements () |
| |
|
void | MetricsForNullColumns () |
| |
|
void | MetricsForNaNColumns () |
| |
|
void | ColumnBoundsWithNaNValueAtFront () |
| |
|
void | ColumnBoundsWithNaNValueInMiddle () |
| |
|
void | ColumnBoundsWithNaNValueAtEnd () |
| |
|
void | MetricsForTopLevelWithMultipleRowGroup () |
| |
|
void | MetricsForNestedStructFieldsWithMultipleRowGroup () |
| |
|
void | NoneMetricsMode () |
| |
|
void | CountsMetricsMode () |
| |
|
void | FullMetricsMode () |
| |
|
void | TruncateStringMetricsMode () |
| |
|
void | TruncateBinaryMetricsMode () |
| |