[
https://issues.apache.org/jira/browse/BEAM-11861?focusedWorklogId=558279&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-558279
]
ASF GitHub Bot logged work on BEAM-11861:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Feb/21 23:10
Start Date: 25/Feb/21 23:10
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on pull request #14078:
URL: https://github.com/apache/beam/pull/14078#issuecomment-786293576
D'oh sorry, I see you mentioned in a separate message that you couldn't find
a good test case for this. Maybe Tao can share a failing test case, I'll ask on
the user@ thread.
----------------------------------------------------------------
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: 558279)
Time Spent: 0.5h (was: 20m)
> 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: 0.5h
> 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)