Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-772

Test fails if current locale has decimal mark other than .

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: parquet-mr
    • Labels:
      None
    • Environment:

      LC_COLLATE=hu_HU.UTF-8
      LC_MEASUREMENT=hu_HU.UTF-8
      LC_CTYPE=hu_HU.UTF-8

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zi Zoltan Ivanfi
                Reporter:
                zi Zoltan Ivanfi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: