Comments (4)
I'm not sure of the details, but I had the same problem and this option solved it for me.
useDataPageV2: false
from parquetjs.
@ngocdaothanh
One way to create a valid parquet file for Athena is as follows
const parquetjs = require('parquetjs');
const data = [
{ 'col1': 'a1', 'col2': 'b1' },
{ 'col1': 'a2', 'col2': 'b2' },
{ 'col1': 'a3', 'col2': 'b3' }
];
const schema = new parquetjs.ParquetSchema({
'col1': { type: 'UTF8' },
'col2': { type: 'UTF8' }
});
(async () => {
const writer = await parquetjs.ParquetWriter.openFile(
schema,
'./sample.parquet',
{ useDataPageV2: false });
data.forEach(d => writer.appendRow(d));
await writer.close()
})();
from parquetjs.
This issue is very related to this one.
#92
from parquetjs.
useDataPageV2: false
Would you please give more details about that workaround?
Where/how do you set that option?
from parquetjs.
Related Issues (20)
- Unable to mock module using Jest HOT 1
- ParquetTransformer stream doesn't emit error HOT 1
- Cannot write a parquet file having a comma in one of its headers HOT 1
- Parquet file parsing error HOT 2
- Any way to Read parquet records before appending to file HOT 2
- os.close is not a function HOT 3
- Streaming new records into an existing parquet file in S3 HOT 5
- Issue with decodeRunRepeated
- is it a unmaintained Package? HOT 2
- invalid parquet version - parquet-cpp
- How to upload the parquet file to s3? HOT 3
- How to read the latest value?
- Streaming read HOT 1
- How to preview/read head of a compressed parquet file?
- Write multiple rows in bulk
- React native HOT 1
- Cannot use 'in' operator to search error HOT 1
- [NodeJS] RangeError [ERR_OUT_OF_RANGE] when reading a parquet file HOT 4
- invalid parquet version error for parquet files generated via python script HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parquetjs.