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 2019/02/11 10:01:00 UTC

[jira] [Commented] (PARQUET-1527) [parquet-tools] cat command throw java.lang.ClassCastException

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

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

masayuki038 commented on pull request #612: PARQUET-1527:  [parquet-tools] cat command throw java.lang.ClassCastException
URL: https://github.com/apache/parquet-mr/pull/612
 
 
   I download sources from release/1.11.0 and built.
   https://github.com/apache/parquet-mr/releases/tag/apache-parquet-1.11.0
   
   As I executed cat command of parquet-tools, the below exception occurred.
   ```
   java -jar ./parquet-tools-1.11.0.jar cat ./v11.parquet
   java.lang.ClassCastException: required int32 int32_field is not a group
   ```
 
----------------------------------------------------------------
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


> [parquet-tools] cat command throw java.lang.ClassCastException
> --------------------------------------------------------------
>
>                 Key: PARQUET-1527
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1527
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.11.0
>            Reporter: Masayuki Takahashi
>            Priority: Major
>              Labels: pull-request-available
>
> I download sources from release/1.11.0 and built.
> https://github.com/apache/parquet-mr/releases/tag/apache-parquet-1.11.0 
> As I ran cat command of parquet-tools, the below exception occurred. 
> {code}
> java -jar ./parquet-tools-1.11.0.jar cat D:\development\repository\git\parquet-column-index-benchmark\src\test\res ources\v11.parquet
> java.lang.ClassCastException: required int32 int32_field is not a group
> {code}
> The schema of v11.parquet is below:
> {code}
> java -jar ./parquet-tools-1.11.0.jar schema D:\development\repository\git\parquet-column-index-benchmark\src\test\ resources\v11.parquet
> message test {
>   required int32 int32_field;
>   required int64 int64_field;
>   required float float_field;
>   required double double_field;
>   required binary binary_field;
>   required int64 timestamp_field (TIMESTAMP(MILLIS,true));
> }
> {code}



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