@dsnp/parquetjs
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -526,4 +526,7 @@ "use strict"; | ||
let columnIndex = new parquet_types_1.default.ColumnIndex(); | ||
columnIndex.null_pages = []; | ||
columnIndex.max_values = []; | ||
columnIndex.min_values = []; | ||
// Default to unordered | ||
columnIndex.boundary_order = 0; | ||
let offsetIndex = new parquet_types_1.default.OffsetIndex(); | ||
@@ -548,2 +551,4 @@ offsetIndex.page_locations = []; | ||
page.distinct_values.forEach((value) => distinct_values.add(value)); | ||
// If the number of values and the count of nulls are the same, this is a null page | ||
columnIndex.null_pages.push(page.num_values === statistics.null_count.valueOf()); | ||
columnIndex.max_values.push(encodeStatisticsValue(page.statistics.max_value, opts.column)); | ||
@@ -550,0 +555,0 @@ columnIndex.min_values.push(encodeStatisticsValue(page.statistics.min_value, opts.column)); |
@@ -6,3 +6,3 @@ { | ||
"types": "dist/parquet.d.ts", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"homepage": "https://github.com/LibertyDSNP/parquetjs", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2748554
19366