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/29 09:34:00 UTC

[jira] [Commented] (PARQUET-1285) [Java] SchemaConverter should not convert from TimeUnit.SECOND AND TimeUnit.NANOSECOND of Arrow

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

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

masayuki038 opened a new pull request #469: PARQUET-1285: [Java] SchemaConverter should not convert from TimeUnit.SECOND and TimeUnit.NANOSECOND of Arrow
URL: https://github.com/apache/parquet-mr/pull/469
 
 
   Arrow's 'Time' definition is below:
   ```
   { "name" : "time", "unit" : "SECOND|MILLISECOND|MICROSECOND|NANOSECOND", "bitWidth": /* integer: 32 or 64 */ }
   ```
   http://arrow.apache.org/docs/metadata.html
   
   But Parquet only supports 'TIME_MILLIS' and 'TIME_MICROS'.
   https://github.com/Apache/parquet-format/blob/master/LogicalTypes.md
   
   Therefore SchemaConverter should not convert from TimeUnit.SECOND and TimeUnit.NANOSECOND of Arrow to Parquet.

----------------------------------------------------------------
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] SchemaConverter should not convert from TimeUnit.SECOND AND TimeUnit.NANOSECOND of Arrow
> -----------------------------------------------------------------------------------------------
>
>                 Key: PARQUET-1285
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1285
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>            Reporter: Masayuki Takahashi
>            Priority: Minor
>
> Arrow's 'Time' definition is below:
> {code:java}
> { "name" : "time", "unit" : "SECOND|MILLISECOND|MICROSECOND|NANOSECOND", "bitWidth": /* integer: 32 or 64 */ }{code}
> [http://arrow.apache.org/docs/metadata.html]
>  
> But Parquet only supports 'TIME_MILLIS' and 'TIME_MICROS'.
>  [https://github.com/Apache/parquet-format/blob/master/LogicalTypes.md]
> Therefore SchemaConverter should not convert from TimeUnit.SECOND AND TimeUnit.NANOSECOND of Arrow to Parquet.
>   



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