You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/10/24 12:37:23 UTC

[GitHub] [incubator-iceberg] andrei-ionescu opened a new issue #575: After writing Iceberg dataset with nested partitions it cannot be read anymore

andrei-ionescu opened a new issue #575: After writing Iceberg dataset with nested partitions it cannot be read anymore
URL: https://github.com/apache/incubator-iceberg/issues/575
 
 
   After writing an Iceberg dataset with nested partitions at read time the following error is encountered:
   
   ```
   Illegal character in: nestedData.moreData
   org.apache.avro.SchemaParseException: Illegal character in: nestedData.moreData
   	at org.apache.avro.Schema.validateName(Schema.java:1151)
   	at org.apache.avro.Schema.access$200(Schema.java:81)
   	at org.apache.avro.Schema$Field.<init>(Schema.java:403)
   	at org.apache.avro.Schema$Field.<init>(Schema.java:423)
   	at org.apache.iceberg.avro.AvroSchemaUtil.copyField(AvroSchemaUtil.java:333)
   	at org.apache.iceberg.avro.BuildAvroProjection.field(BuildAvroProjection.java:134)
   	at org.apache.iceberg.avro.BuildAvroProjection.field(BuildAvroProjection.java:41)
   	at org.apache.iceberg.avro.AvroCustomOrderSchemaVisitor$VisitFieldFuture.get(AvroCustomOrderSchemaVisitor.java:124)
   	at com.google.common.collect.Iterators$6.transform(Iterators.java:783)
   	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)
   	at com.google.common.collect.Iterators.addAll(Iterators.java:356)
   	at com.google.common.collect.Lists.newArrayList(Lists.java:143)
   	at com.google.common.collect.Lists.newArrayList(Lists.java:130)
   	at org.apache.iceberg.avro.BuildAvroProjection.record(BuildAvroProjection.java:60)
   	at org.apache.iceberg.avro.BuildAvroProjection.record(BuildAvroProjection.java:41)
   	at org.apache.iceberg.avro.AvroCustomOrderSchemaVisitor.visit(AvroCustomOrderSchemaVisitor.java:51)
   	at org.apache.iceberg.avro.AvroCustomOrderSchemaVisitor$VisitFuture.get(AvroCustomOrderSchemaVisitor.java:109)
   	at org.apache.iceberg.avro.BuildAvroProjection.field(BuildAvroProjection.java:130)
   	at org.apache.iceberg.avro.BuildAvroProjection.field(BuildAvroProjection.java:41)
   	at org.apache.iceberg.avro.AvroCustomOrderSchemaVisitor$VisitFieldFuture.get(AvroCustomOrderSchemaVisitor.java:124)
   	...
   ```
   
   This seems related to https://github.com/apache/incubator-iceberg/issues/216 issue.
   
   Here is a test I put together to demonstrate the issue: https://gist.github.com/andrei-ionescu/b3e5f5345df3166af7562a830d3dc57d
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org