[ 
https://issues.apache.org/jira/browse/BEAM-11861?focusedWorklogId=558605&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-558605
 ]

ASF GitHub Bot logged work on BEAM-11861:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Feb/21 16:26
            Start Date: 26/Feb/21 16:26
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit merged pull request #14078:
URL: https://github.com/apache/beam/pull/14078


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 558605)
    Time Spent: 50m  (was: 40m)

> ParquetIO throws Coder not found when using parseGenericRecord or 
> parseFilesGenericRecord
> -----------------------------------------------------------------------------------------
>
>                 Key: BEAM-11861
>                 URL: https://issues.apache.org/jira/browse/BEAM-11861
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-parquet
>    Affects Versions: 2.28.0
>            Reporter: Anant Damle
>            Assignee: Anant Damle
>            Priority: P2
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> ParquetIO is missing output coder  when  using a user-specified parsing 
> function with `parseGenericRecord` or `parseFilesGenericRecord` feature for 
> reading Parquet files with unknown schema.
> *Workaround:* 
>  Use `setCoder` directly on the output `PCollection`
>  for example:
> {{SerializableFunction<GenericRecord, Foo> parseFn = ...;}}
>  {{Coder<Foo> fooCoder = ...;}}
> {{PCollection<Foo> records = 
> }}{{p}}{{.apply(ParquetIO.parseGenericRecords(parseFn).from(...))}}
>  {{*.setCoder(fooCoder)*;}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to