You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/20 21:59:00 UTC

[jira] [Commented] (PARQUET-1128) [Java] Upgrade the Apache Arrow version to 0.8.0 for SchemaConverter

    [ https://issues.apache.org/jira/browse/PARQUET-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446413#comment-16446413 ] 

ASF GitHub Bot commented on PARQUET-1128:
-----------------------------------------

agrove-rms commented on a change in pull request #443: PARQUET-1128: [Java] Upgrade the Apache Arrow version to 0.8.0 for SchemaConverter
URL: https://github.com/apache/parquet-mr/pull/443#discussion_r183178504
 
 

 ##########
 File path: parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java
 ##########
 @@ -471,6 +469,7 @@ public TypeMapping convertINT64(PrimitiveTypeName primitiveTypeName) throws Runt
           case LIST:
           case MAP:
           case MAP_KEY_VALUE:
+          case TIME_MILLIS:
             throw new IllegalArgumentException("illegal type " + type);
         }
 
 Review comment:
   @xhochy I would like this too, please 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> [Java] Upgrade the Apache Arrow version to 0.8.0 for SchemaConverter
> --------------------------------------------------------------------
>
>                 Key: PARQUET-1128
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1128
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>            Reporter: Masayuki Takahashi
>            Priority: Minor
>
> When I converted parquet(1.9.1-SNAPSHOT) schema to arrow(0.4.0) with SchemaConverter, this exception raised.
> {code:java}
> java.lang.NoClassDefFoundError: org/apache/arrow/vector/types/pojo/ArrowType$Struct_
> 	at net.wrap_trap.parquet_arrow.ParquetToArrowConverter.convertToArrow(ParquetToArrowConverter.java:67)
> 	at net.wrap_trap.parquet_arrow.ParquetToArrowConverter.convertToArrow(ParquetToArrowConverter.java:40)
> 	at net.wrap_trap.parquet_arrow.ParquetToArrowConverterTest.parquetToArrowConverterTest(ParquetToArrowConverterTest.java:27)
> {code}
> This reason is that SchemaConverter refer to Apache Arrow 0.1.0.
> I upgrade the Apache Arrow version to 0.8.0 for SchemaConverter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)