Skip to content

Track memory used by parquet writers. #11344

Closed

Description

@wiedld

Is your feature request related to a problem or challenge?

The encoding of parquet requires a non-trivial amount of memory buffering. During the execution of datafusion physical plans, parquet may be encoded using ParquetSink (e.g. COPY TO queries which output parquet). Currently we do not track ParquetSink's memory usage in the task context's memory pool.

Describe the solution you'd like

Start tracking the memory used during parquet encoding.

Describe alternatives you've considered

No response

Additional context

Recently, we extended several parquet interfaces to provide better estimates of the memory_usage during encoding. These memory usage estimates should be used to determine the appropriate memory reservations.

Activity

  1. wiedld commented on Jul 9, 2024

    @wiedld
    ContributorAuthor

    Please assign to me. PR up shortly.

  2. alamb commented on Jul 9, 2024

    @alamb
    Contributor

    Someone else also saw similar issues in #11042

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions