You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside addMetadataFields(), it trunks the 'props' after adding the metadata. This blocks scenario where it relies those 'props' to let Parquet do some work like encryption. The fix is simple by adding the 'props'.
for (Schema.Field field : schema.getFields()) {
if (!isMetadataField(field.name())) {
Schema.Field newField = new Schema.Field(field.name(), field.schema(), field.doc(), null);
for (Map.Entry<String, JsonNode> prop : field.getJsonProps().entrySet()) {
newField.addProp(prop.getKey(), prop.getValue());
}
parentFields.add(newField);
}
}
This passed the unit test and verified working in that the 'props' can pass to Parquet.
The text was updated successfully, but these errors were encountered:
Inside addMetadataFields(), it trunks the 'props' after adding the metadata. This blocks scenario where it relies those 'props' to let Parquet do some work like encryption. The fix is simple by adding the 'props'.
This passed the unit test and verified working in that the 'props' can pass to Parquet.
The text was updated successfully, but these errors were encountered: