Skip to content

Conversion from Avro GenericRecords to Beam Rows takes too much time #20894

@damccorm

Description

@damccorm

While running TPC-DS SQL query 3 on Dataflow with a input dataset of 1TB I noticed the performancew was not good compared with a native version implemented with Raw GenericRecords.

I enabled profiling and noticed that the performance of the Convert transform that converts Avro GenericRecords into Beam Rows is taking too much time, specially for those records that are relatively simple (not nested recordes / logical types or anything complex).

There is definitely something odd that can be improved in this transformation.

Imported from Jira BEAM-12328. Original Jira may contain additional context.
Reported by: iemejia.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions