-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported Nested Structs #100
Comments
Also it's showing only first element of lists |
Nested complex types are not supported unfortunately. If you could share a sample file it could help get it implemented. |
Hello, @mukunku generated using: import { ParquetSchema, ParquetWriter } from '@dsnp/parquetjs';
const SchemaList = new ParquetSchema({
groceries: { type: 'UTF8', repeated: true }
});
const SchemaUser = new ParquetSchema({
user: {
fields: {
rating: {
fields: {
value: { type: 'FLOAT' },
count: { type: 'INT64' }
}
}
}
}
});
const writer2 = await ParquetWriter.openFile(SchemaList, 'list.parquet');
const writer1 = await ParquetWriter.openFile(SchemaUser, 'user.parquet');
await writer2.appendRow({ groceries: ['foo', 'bar', 'baz', 'no', 'naming', 'imagination'] });
await writer1.appendRow({
user: {
rating: {
value: 4.3,
count: 34
}
}
});
await writer1.close();
await writer2.close(); Some web closed-source readers. might help |
Ehm, well there is https://github.com/aloneguid/parquet-dotnet/tree/master/src/Parquet.Floor which is works as intended for nested (utf8 for non-latin has bad display) |
Thanks this is all helpful. I'll take a look when I get the chance. I'll leave this issue open in case anyone else wants to give implementing this a shot as well. |
Also can't view the file that is created when running the parquet.net example for dictionaries. Likely related.
The exception thrown is Field schema path not found: |
Thanks again for the sample files and code folks. I went ahead and created a pre-release of v2.10.1 with fixes for your issues. @sequencerr I added nested struct support so this new version can open your test @dbraaten42 I broadened the Map type support so ParquetViewer supports Map's created with Parquet.Net now 😁 Thanks a lot for reporting the issue. Please give this new version a try, folks. I'm going to close this ticket out but feel free to open a new one if you have more parquet files you can't view. |
Is there a problem on my side? #3
The text was updated successfully, but these errors were encountered: