Skip to content

Parquet performance: improve performance of reading int8/int16 #7097

@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

@etseidl reports #7040 (comment):

I guess I got off on a bit of a tangent here. I was asking not so much about handling the bad data, but rather the serendipitous finding that the existing code is quite slow doing casts from 32 bits down to 8 or 16. That can be raised in a separate issue.

Describe the solution you'd like
Implement the improvement suggested by @etseidl

Describe alternatives you've considered
To be honest I don't fully understand what code this affects, so perhaps @etseidl could help

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelogparquetChanges to the parquet crateperformance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions