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

Expected distinct numbers is not parsed correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • parquet-mr

    Description

      In the bloom filter feature, when I pass the expected distinct numbers as below, I got null values instead of 1000 and 200.

      import org.apache.hadoop.conf.Configuration;
      
      Configuration conf = new Configuration();
      
      conf.set("parquet.bloom.filter.column.names", "content,line"); conf.set("parquet.bloom.filter.expected.ndv","1000,200");
      

       
      The issue is coming from getting the system property of expected distinct numbers through Long.getLong(expectedNDVs[i]).

       

      It's possible to fix it by parsing the string with Long.parseLong(expectedNDVs[i]).

       

      Attachments

        Issue Links

          Activity

            People

              garawalid Walid Gara
              garawalid Walid Gara
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: