Zoltan Ivanfi created PARQUET-772:
-------------------------------------

             Summary: Test fails if current locale has decimal mark other than .
                 Key: PARQUET-772
                 URL: https://issues.apache.org/jira/browse/PARQUET-772
             Project: Parquet
          Issue Type: Bug
          Components: parquet-mr
         Environment: LC_COLLATE=hu_HU.UTF-8
LC_MEASUREMENT=hu_HU.UTF-8
LC_CTYPE=hu_HU.UTF-8
            Reporter: Zoltan Ivanfi
            Priority: Trivial


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to