Skip to content

Test fails if current locale has decimal mark other than . #2013

@asfimport

Description

@asfimport

mvn test fails on my machine because of my locale settings:

Failed tests: testFloatMinMax(org.apache.parquet.column.statistics.TestStatistics): expected:<min: 0[,00010, max: 553,]59998, num_nulls: 0> but was:<min: 0[.00010, max: 553.]59998, num_nulls: 0>
testDoubleMinMax(org.apache.parquet.column.statistics.TestStatistics): expected:<min: 0[,00001, max: 944,]50000, num_nulls: 0> but was:<min: 0[.00001, max: 944.]50000, num_nulls: 0>

$ printenv | grep LC
LC_COLLATE=hu_HU.UTF-8
LC_MEASUREMENT=hu_HU.UTF-8
LC_CTYPE=hu_HU.UTF-8

Environment: LC_COLLATE=hu_HU.UTF-8
LC_MEASUREMENT=hu_HU.UTF-8
LC_CTYPE=hu_HU.UTF-8
Reporter: Zoltan Ivanfi / @zivanfi
Assignee: Zoltan Ivanfi / @zivanfi

PRs and other links:

Note: This issue was originally created as PARQUET-772. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions