@dsnp/parquetjs
Advanced tools
Comparing version 1.3.5 to 1.4.0
@@ -88,4 +88,5 @@ "use strict"; | ||
case 'integer': | ||
return fields.createListField('INT64', optionalFieldList); | ||
case 'number': | ||
return fields.createListField('INT64', optionalFieldList); | ||
return fields.createListField('DOUBLE', optionalFieldList); | ||
case 'boolean': | ||
@@ -114,4 +115,5 @@ return fields.createListField('BOOLEAN', optionalFieldList); | ||
case 'integer': | ||
return fields.createIntField(64, optional); | ||
case 'number': | ||
return fields.createIntField(64, optional); | ||
return fields.createDoubleField(optional); | ||
case 'boolean': | ||
@@ -118,0 +120,0 @@ return fields.createBooleanField(optional); |
@@ -6,3 +6,3 @@ { | ||
"types": "dist/parquet.d.ts", | ||
"version": "1.3.5", | ||
"version": "1.4.0", | ||
"homepage": "https://github.com/LibertyDSNP/parquetjs", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -332,3 +332,3 @@ # parquet.js | ||
combination with the `BOOLEAN`, `INT32` and `INT64` types. The RLE encoding | ||
requires an additional `bitWidth` parameter that contains the maximum number of | ||
requires an additional `typeLength` parameter that contains the maximum number of | ||
bits required to store the largest value of the field. | ||
@@ -338,3 +338,3 @@ | ||
var schema = new parquet.ParquetSchema({ | ||
age: { type: 'UINT_32', encoding: 'RLE', bitWidth: 7 }, | ||
age: { type: 'UINT_32', encoding: 'RLE', typeLength: 7 }, | ||
}); | ||
@@ -341,0 +341,0 @@ ``` |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2754682
19480
21