[ 
https://issues.apache.org/jira/browse/AVRO-4320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Skraba resolved AVRO-4320.
-------------------------------
    Resolution: Duplicate

> Parquet failure with 1.12.2-rc1
> -------------------------------
>
>                 Key: AVRO-4320
>                 URL: https://issues.apache.org/jira/browse/AVRO-4320
>             Project: Apache Avro
>          Issue Type: Bug
>    Affects Versions: 1.12.2
>            Reporter: Ryan Skraba
>            Priority: Major
>
> I added the following configuration to test parquet:
> {code:java}
>   <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <systemPropertyVariables>
>             <!-- We need to set this system property to allow Avro to 
> serialize these classes via the specific/reflect models -->
>             
> <org.apache.avro.SERIALIZABLE_CLASSES>java.math.BigDecimal</org.apache.avro.SERIALIZABLE_CLASSES>
>             <apache.avro.fastread>false</apache.avro.fastread>
>             
> <org.apache.avro.SERIALIZABLE_PACKAGES>java.util,org.apache.parquet.avro</org.apache.avro.SERIALIZABLE_PACKAGES>
>           </systemPropertyVariables>
>         </configuration>
>       </plugin>{code}
>  
> It fails with the following 3 errors:
> {code:java}
> [ERROR] Errors: 
> [ERROR]   TestReflectLogicalTypes.testReadUUIDArray:692 ? ParquetDecoding Can 
> not read value at 1 in block 0 in file 
> file:/tmp/junit-4850898539475119384/test
> [ERROR]   TestReflectLogicalTypes.testReadUUIDArrayWithParquetUUID:722 ? 
> ParquetDecoding Can not read value at 1 in block 0 in file 
> file:/tmp/junit-8652297204865602939/test
> [ERROR]   TestReflectReadWrite.testReadWriteReflect:56 ? ParquetDecoding Can 
> not read value at 1 in block 0 in file 
> file:/tmp/TestReflectReadWrite16901070826819163456.tmp
> [ERROR]   TestStringBehavior.testReflect ? NullPointer Cannot invoke 
> "org.apache.avro.LogicalType.getName()" because "logicalType" is null
> [ERROR]   TestStringBehavior.testReflectJavaClass ? NullPointer Cannot invoke 
> "org.apache.avro.LogicalType.getName()" because "logicalType" is null
> [INFO] {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to