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

ASF GitHub Bot commented on FLINK-7243:
---------------------------------------

lvhuyen commented on issue #6483: [FLINK-7243][flink-formats] Add parquet input 
format
URL: https://github.com/apache/flink/pull/6483#issuecomment-418650688
 
 
   Hi Zhenqiu,
   
   I tried to read a parquet file using the code in your PR, and got the 
following error when reading a column of type timestamp (nullable = true).
   
   Thanks and best regards,
   
   ```
   Caused by: java.lang.IllegalArgumentException: Can not set 
java.math.BigInteger field ... to java.lang.String
   at 
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
   at 
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
   at 
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
   at java.lang.reflect.Field.set(Field.java:764)
   at 
org.apache.flink.formats.parquet.ParquetPojoInputFormat.convert(ParquetPojoInputFormat.java:96)
   at 
org.apache.flink.formats.parquet.ParquetInputFormat.nextRecord(ParquetInputFormat.java:159)
   at 
org.apache.flink.streaming.api.functions.source.ContinuousFileReaderOperator$SplitReader.run(ContinuousFileReaderOperator.java:323)
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


> Add ParquetInputFormat
> ----------------------
>
>                 Key: FLINK-7243
>                 URL: https://issues.apache.org/jira/browse/FLINK-7243
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: godfrey he
>            Assignee: Zhenqiu Huang
>            Priority: Major
>              Labels: pull-request-available
>
> Add a {{ParquetInputFormat}} to read data from a Apache Parquet file. 



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

Reply via email to