We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to create a file with just FLOAT as a physical type we get the error.
FLOAT
Structure:
{ "fileName": "float_examples.parquet", "options": { "writerVersion": "1.0", "compression": "GZIP", "rowGroupSize": 256, "pageSize": 1024 }, "schema": [ { "name": "float1", "schemaType": "required", "physicalType": "FLOAT", "data": [1.2] } ] }
Exception in thread "main" java.lang.IllegalArgumentException: Error adding value to group. Value type mismatch for column: float1 at GenerateParquet.appendValueToGroup(GenerateParquet.java:582) at GenerateParquet.insertDataIntoGroup(GenerateParquet.java:478) at GenerateParquet.writeData(GenerateParquet.java:407) at GenerateParquet.generateParquet(GenerateParquet.java:94) at GenerateParquet.main(GenerateParquet.java:43) Caused by: java.lang.ClassCastException: message MySchema { required float float1; } is not primitive at org.apache.parquet.schema.Type.asPrimitiveType(Type.java:258) at org.apache.parquet.example.data.simple.SimpleGroup.add(SimpleGroup.java:233) at org.apache.parquet.example.data.Group.add(Group.java:59) at GenerateParquet.appendValueToGroup(GenerateParquet.java:553) ... 4 more
The text was updated successfully, but these errors were encountered:
Selfeer
No branches or pull requests
When trying to create a file with just
FLOAT
as a physical type we get the error.Structure:
The text was updated successfully, but these errors were encountered: