Comments (5)
Thanks @mukunku! Yes, the byte[] in the sample file is a 3D mask we use for our application that does not correspond to any well-known file type. I think the solution you have provided is excellent, and will serve our purposes very nicely.
from parquetviewer.
Have the same issue with v2.6 throwing error for byte columns. 2.4.7834 also threw an error 'encoding RLE_Dictionary is not supported' for the same file.
Edit: also an issue in 2.7.0.3
from parquetviewer.
I haven't been able to replicate this issue on my end. I tried with a parquet file containing byte
and byte[]
fields.
Any chance you folks could provide a sample file?
from parquetviewer.
I haven't been able to replicate this issue on my end. I tried with a parquet file containing
byte
andbyte[]
fields.Any chance you folks could provide a sample file?
Sure thing - the attached one fails pretty hard on Version 2.7.1.0. In 2.6.0.2 it shows just the first two columns, but not the last (byte[]) column. In 2.4.2.0 it works great (shows all three columns, including last byte[] column).
BytesFailsIn2.7.1.0.zip
from parquetviewer.
Thanks a lot for the sample file @Dave-Kiwi .
I added a temporary patch to support converting byte[]
data to string so it can be displayed. This is available now in v2.7.2.1
Details
So this is an issue with the fact that we use AutoGenerateColumns
= true
when generating the gridview. And the internal .net framework logic thinks byte[]
types are for images. So it tries to render an image with your byte
data and fails. And it fails for each cell so that might be why it triggers so often.
I also put in a fix so any time a value can't be rendered it will be skipped like so:
A real proper fix would be to do our own column generation and handle all the different data types ourselves. This is something I'll have to pursue another time; if there's more desire to support different array types.
from parquetviewer.
Related Issues (20)
- Unsupported Nested Structs HOT 7
- [FEAT] IO Unblock? HOT 1
- [BUG] App doesn't launch via pre-compiled binaries and any IDE besides Visual Studio HOT 6
- [FEAT] Display Rowgroup info HOT 1
- [BUG] Cannot open Parquet file with 2 similar column names (different case) HOT 5
- [BUG] Handling Files with many columns HOT 8
- [BUG] Cannot open file because of missing column, but column is present. HOT 4
- [FEAT] Search text in multiple Parquet files in one folder HOT 6
- [BUG] Error when opening file containing columns of LIST type HOT 3
- [BUG] sbyte and byte types swapped HOT 1
- [BUG] Unable to open the file which contains a nullable guid column HOT 2
- [BUG] Unable to display data exported from Oracle database HOT 5
- Application Error when trying to open parquet file HOT 2
- [FEAT] View per-column metadata HOT 3
- [BUG] audio unsupported!!!! HOT 1
- [BUG] Timestamp display arrow 13.0 HOT 3
- [BUG] Cannot open parquet file when column name includes "/" HOT 1
- [BUG] Cannot open Delta Lake checkpoint parquet file HOT 4
- [BUG] Cannot Open Parquet HOT 8
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 parquetviewer.